Перейти к содержимому

Environment variables

Это содержимое пока не доступно на вашем языке.

A list of the environment variables available via Biome.

The directory where the logs of the Biome Daemon are stored.

A prefix that’s added to the name of the log. Default: server.log.

The level of logging. Possible values: none, tracing, debug, info, warn, error. Default: info.

What the log should look like. Possible values: pretty, compact, json. Default: pretty.

A path to the configuration file

The number of threads to use in CI.

The kind of watcher to use. Possible values: polling, recommended, none. Default: recommended.

The polling interval in milliseconds. This is only applicable when using the polling watcher. Default: 2000.

Overrides the Biome binary being used. This allows you, for example, to use a system-wide Biome binary.

If you don’t define this variable, Biome will automatically detect the correct binary for your platform.

Terminal window
# Nix derivation example; the binary path comes from "${pkgs.biome}/bin/biome"
BIOME_BINARY=/nix/store/68fyfw1hidsqkal1839whi3nzgvqv4pa-biome-1.0.0/bin/biome npx @biomejs/biome format .

Enables capturing the backtrace when Biome panicked. This allows you to identify where the panic occurred.

Terminal window
RUST_BACKTRACE=1 npx @biomejs/biome check .