BASE

Biome

Biome

Build / code quality tool · Free

Formatting and lint tools for web projects in one CLI: check style and some code errors in the editor and CI.

Also known as: biomejs/biome; biomejs; biome-toolchain; biome-linter; biome-formatter

Resource illustration: Biome

Open resource ↗

What you can use for free

Biome code and local use are available under MIT OR Apache-2.0, at the user's choice.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Biome code and local use are available under MIT OR Apache-2.0, at the user's choice. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Combine formatting and linting for a web project
  • Check source code and connect diagnostics to the editor/CI workflow

Example workflow

A possible workflow; this is not a report of hands-on testing.

Combine formatting and linting for a web project.

Before you start

  • A repository, package manifests, and configuration.
  • A compatible runtime and the target build command.

Steps

  1. Choose files to format and Biome lint rules. Start with biome check without modifying files and inspect diagnostics; after choosing rules, apply biome check --write for formatting, safe fixes, and assist.
  2. Check source code and connect diagnostics to the editor/CI workflow. The README separately demonstrates biome format, biome lint, and the combined biome check; use biome ci for CI. Match the editor and CI to one version and configuration.
  3. Add the workflow to scripts or CI with a clear report. One possible check is to compare proposed changes in a separate diff and run type checking and application tests: lint does not prove business logic is correct.

Check your result

  • A clean copy of the project reproduces the result.
  • Errors produce a nonzero exit code and clear diagnostics.

Choosing Biome

Combine formatting and linting for a web project

Choose this when

  • Combine formatting and linting for a web project
  • Check source code and connect diagnostics to the editor/CI workflow

Requirements

  • Choose supported files and rules from the documentation for the version in use. NPM is one installation method, but Biome itself does not need Node.js to run. In a package-based project, Quick Start recommends pinning the exact dev dependency version; create configuration with biome init, or defaults are used without a file.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Biome code is available under MIT OR Apache-2.0, at your choice. Retain the chosen license's text and notices; for Apache-2.0, also account for change notices, relevant NOTICE files, and patent grant terms. The code is provided without warranties; dependencies have their own licenses.

Frequently asked questions

What can you use for free in Biome?

Biome code and local use are available under MIT OR Apache-2.0, at the user's choice.

What additional costs might arise with Biome?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Biome?

Biome code is available under MIT OR Apache-2.0, at your choice. Retain the chosen license's text and notices; for Apache-2.0, also account for change notices, relevant NOTICE files, and patent grant terms. The code is provided without warranties; dependencies have their own licenses.

How do you get started with Biome?

Choose files to format and Biome lint rules. Start with biome check without modifying files and inspect diagnostics; after choosing rules, apply biome check --write for formatting, safe fixes, and assist. Check source code and connect diagnostics to the editor/CI workflow. The README separately demonstrates biome format, biome lint, and the combined biome check; use biome ci for CI. Match the editor and CI to one version and configuration. Add the workflow to scripts or CI with a clear report. One possible check is to compare proposed changes in a separate diff and run type checking and application tests: lint does not prove business logic is correct.

Does Biome need Node.js to run?

The README explicitly states that Biome does not require Node.js to run. NPM is one installation method; standalone installation and a WebAssembly Playground are available.

What does Biome's combined CLI check?

The README lists formatting and linting for JavaScript, TypeScript, JSX, JSON, CSS, and GraphQL, including editor diagnostics. Check specific rules and syntax support against the chosen version.

Does biome check --write fix every error it finds?

No. Quick Start describes formatting, safe fixes, and assist, but unsafe or non-automatable changes require a separate decision. Inspect remaining diagnostics and the diff; a successful automatic fix does not replace application tests.

How can you use Biome consistently in the editor and CI?

The README describes LSP and the biome ci command, while Quick Start recommends an exact package dev dependency version. One possible sequence is to pin the version, agree on rules and file scope, then check the same reference example locally and in the pipeline.

License

Biome code is available under MIT OR Apache-2.0, at your choice. Retain the chosen license's text and notices; for Apache-2.0, also account for change notices, relevant NOTICE files, and patent grant terms. The code is provided without warranties; dependencies have their own licenses.

MIT — permissive license

Alternative license: MIT or Apache-2.0.

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Apache 2.0 — permissive license with patent terms

Alternative license: Apache-2.0 or MIT.

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Biome
  • build
  • Development

Sources

Other resources