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