Manual installation
Use Biome without Node.js
Section titled Use Biome without Node.jsUsing Biome’s standalone CLI binary can be a great choice if you aren’t already using Node or npm (or any other package manager).
Or in other words, Biome shouldn’t be the only reason for you to have a package.json
.
Homebrew
Section titled HomebrewBiome is available as a Homebrew formula for macOS and Linux users.
brew install biome
System Requirements
Section titled System Requirements- Windows (including WSL), macOS, or Linux
- x86_64 or ARM64
Supported platforms
Section titled Supported platformsYou have to pick the correct binary for your platform for Biome work. The following table should help you do so.
CPU Architecture | Windows | macOS | Linux | Linux (musl) |
---|---|---|---|---|
arm64 | win32-arm64 | darwin-arm64 (M1 or newer) | linux-arm64 | linux-arm64-musl |
x64 | win32-x64 | darwin-x64 | linux-x64 | linux-x64-musl |
Install Biome
Section titled Install BiomeTo install Biome, grab the executable for your platform from the latest CLI release on GitHub and give it execution permission.
# macOS arm (M1 or newer)curl -L https://github.com/biomejs/biome/releases/download/cli%2Fv<version>/biome-darwin-arm64 -o biomechmod +x biome
# Linux (x86_64)curl -L https://github.com/biomejs/biome/releases/download/cli%2Fv<version>/biome-linux-x64 -o biomechmod +x biome
# Windows (x86_64, Powershell)Invoke-WebRequest -Uri "https://github.com/biomejs/biome/releases/download/cli%2Fv<version>/biome-win32-x64.exe" -OutFile "biome.exe"
Now you can use Biome by simply running ./biome
.
Next Steps
Section titled Next StepsRead more about how to use Biome in our getting started section.