Core Workflows
Run the formatter, linter, and import sorting on the specified paths
$biome check <path>Run checks and automatically apply safe fixes, formatting, and import sorting
$biome check --write <path>Run checks and automatically apply both safe and unsafe fixes
$biome check --unsafe <path>Run checks for CI environments, failing the build if any files require changes
$biome ci <path>Run only the formatter on the specified paths, printing results to standard output
$biome format <path>Run the formatter and write the formatted code directly to the files
$biome format --write <path>Run only the linter on the specified paths
$biome lint <path>Run the linter and automatically apply safe code fixes
$biome lint --write <path>Run the linter and automatically apply both safe and unsafe code fixes
$biome lint --unsafe <path>Project & Configuration
Bootstraps a new biome.json configuration file in the current directory
$biome initUpdate the Biome configuration file to match the latest schema version
$biome migrateMigrate existing Prettier configuration (.prettierrc, .prettierignore) to Biome
$biome migrate prettierMigrate existing ESLint configuration to Biome
$biome migrate eslintRun checks using a biome.json configuration file located in a specific directory
$biome check --config-path=<dir>Version Control & Git
Run checks only on files that are staged in the version control system
$biome check --stagedRun checks only on files that have changed in the working tree
$biome check --changedRun checks only on files changed since the specified Git reference (e.g., main)
$biome check --since=<ref>Explicitly specify the version control client to use for integration
$biome check --vcs-client-kind=<git>Information & Diagnostics
Print detailed documentation and examples for a specific lint rule (e.g., noVar)
$biome explain <rule>Print the installed Biome version
$biome --versionPrint the global help message and a list of all available commands
$biome --helpCap the maximum number of diagnostics displayed in the terminal
$biome check --max-diagnostics=<number>Filter the output to only show diagnostics of the specified severity or higher
$biome check --diagnostics-level=<info|warn|error>Change the format of the output diagnostics (e.g., for GitHub Actions)
$biome check --reporter=<json|summary|github>Force or disable colorized output in the terminal
$biome check --colors=<off|force>File Handling & Execution
Format code passed via standard input, pretending it has the specified file name/extension
$biome format --stdin-file-path=<file>Ignore files with unknown extensions instead of throwing an error
$biome check --ignore-unknownDo not exit with a non-zero error code if no files were matched by the path
$biome check --no-errors-on-unmatchedSet the maximum allowed size for a file to be processed (in bytes)
$biome check --files-max-size=<size>Daemon & Server
Start the Biome daemon server in the background for faster subsequent executions
$biome startStop the running Biome daemon server
$biome stopStart the Biome Language Server Protocol (LSP) proxy for editor integrations
$biome lsp-proxy