package.json file.
Installation
The easiest way to get started is to run Ultracite’sinit script, which will install the necessary packages and set up the config files for you. In your project directory, run:
init command:
| Flag | Description | Options |
|---|---|---|
--linter | The linting toolchain to use. | biome, eslint, oxlint |
--pm | The package manager to use. | pnpm, bun, yarn, npm |
--frameworks | The frameworks to configure. | Space-separated: react, next, solid, vue, svelte, qwik, remix, angular, astro, nestjs |
--editors | The editors to configure. | Space-separated: vscode, cursor, windsurf, antigravity, kiro, trae, void, zed |
--agents | The AI agents to configure. | Space-separated: claude, codex, jules, copilot, cline, amp, aider, firebase-studio, open-hands, gemini, junie, augmentcode, kilo-code, goose, roo-code, warp, droid, opencode, crush, qwen, amazon-q-cli, firebender, cursor-cli, mistral-vibe, vercel |
--hooks | The agent hooks to configure. | Space-separated: cursor, windsurf, claude |
--integrations | Additional integrations to setup. | Space-separated: husky, lefthook, lint-staged, pre-commit |
--type-aware | Enable type-aware linting (oxlint only). | (no value needed) |
--skip-install | Skip installing dependencies. | (no value needed) |
--quiet | Suppress interactive prompts and visual output. | (no value needed, automatically enabled in CI) |
Programmatic Usage
For tools that need to call Ultracite programmatically (like scaffolding CLIs), you can use the--quiet flag to suppress all interactive prompts and visual output:
Terminal
--quiet flag is automatically enabled when the CI environment variable is set to true or 1, making it suitable for CI/CD pipelines:
Terminal
- Skip all interactive prompts
- Use sensible defaults for all options (Biome by default)
- Suppress ASCII art, spinners, and log messages
- Only create the core linter configuration
- Exit cleanly with code 0 on success or 1 on failure
--quiet with --linter to specify a toolchain:
Terminal
Usage with Tailwind CSS
If you use Tailwind CSS, it’s recommended to install the Tailwind CSS IntelliSense extension for class sorting and hints:Terminal