Manual installation
Use Biome without Node.js
Using 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
.
Note: If you’re already using npm or another package manager, then using the package manager is the preferred way to install Biome. You’re already familiar with the tooling, and installing and updating are simpler.
Homebrew
Biome is available as a Homebrew formula for macOS and Linux users.
brew install biome
System Requirements
- Windows (including WSL), macOS, or Linux
- x86_64 or ARM64
Supported platforms
You 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 |
NOTE: Use the Linux variant for Windows Subsystem for Linux (WSL)
Install Biome
To 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"
Note: Make sure to replace
<version>
with the Biome version you want to install.
Now you can use Biome by simply running ./biome
.
Next Steps
Read more about how to use Biome in our getting started section.