# 使用 Homebrew, apk, Nix, pacman, zypper, scoop, winget 安装 biome

查看 biome 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:biome
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install biome
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add biome
```

  证据: Alpine Linux edge package indexes: biome from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#biome
```

  证据: nixpkgs package indexes: pkgs/by-name/bi/biome/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S biome
```

  证据: Arch Linux sync databases: biome from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install biome
```

  证据: openSUSE Tumbleweed package metadata: biome from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/biome
```

  证据: Scoop official bucket manifest trees: bucket/biome.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id BiomeJS.Biome -e
```

  证据: Windows Package Manager source index: BiomeJS.Biome from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:biome
- **软件包管理器:** Homebrew
- **版本:** 2.5.6
- **来源摘要:** Toolchain of the web
- **主页:** <https://biomejs.dev/>
- **仓库:** <https://github.com/biomejs/biome>
- **最后更新:** 2026-07-28T12:50:41Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- biome (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.5.6
## 项目历史与用法

Biome is a fast formatter, linter, CLI, and editor-facing toolchain for web projects, descended from the Rome project and positioned as a unified alternative to piles of separate JavaScript, TypeScript, JSX, JSON, CSS, and GraphQL tools.

### 项目历史

Biome's predecessor was Rome, whose GitHub repository was created in 2020 and is now archived with the description 'Unified developer tools for JavaScript, TypeScript, and the web'. The Biome repository was created in July 2023, and the official blog includes an 'Announcing Biome' entry during that transition.

Biome shipped its CLI v1.0.0 in August 2023. The official package README describes it as the 'Toolchain of the web', with a formatter, linter, CLI, LSP/editor integration, WebAssembly playground, and a goal of unifying functions that had previously been separate tools.

The v2 line arrived in June 2025, followed by frequent 2.x releases. By the v2.5 blog post in June 2026, the project said Biome had crossed 500 lint rules and added features such as plugin code fixes, cross-file linting, watcher mode, and new formatter options.

### 采用历史

Biome's adoption is visible in several official/project-backed signals: the README advertises npm, VS Code Marketplace, Open VSX, Discord, sponsorship, Open Collective, and enterprise support surfaces; the GitHub repository has tens of thousands of stars; and the input package metadata lists Homebrew, Alpine/apk, Nix, Arch/pacman, Scoop, Winget, and openSUSE/zypper.

It grew by addressing a common package-manager pain point in web projects: replacing formatter, linter, import organization, diagnostics, and editor wiring with one fast native binary and one configuration model.

### 使用方式

The README documents package usage through `npm install --save-dev --save-exact @biomejs/biome`, then commands such as `biome format --write`, `biome lint --write`, `biome check --write`, and `biome ci`. It also notes an online WebAssembly playground and first-class LSP/editor usage.

Biome is commonly used as a project-local development dependency in JavaScript and TypeScript repos, but package managers such as Homebrew make the standalone CLI convenient for editor integrations, monorepo tooling, and system-level developer setups.

### 为什么软件包爱好者会关心

Biome is package-nerd significant because it is part of the post-Node-script era of JavaScript tooling: a single native binary, written in Rust, distributed through npm and OS package managers, doing work that historically meant wiring together Prettier, ESLint, typescript-eslint, import tools, JSON formatters, and editor plugins.

It also carries the Rome lineage without requiring users to care about that history. For maintainers and package curators, Biome is the rare web tool that wants to be both npm-native and distro-friendly: fast executable, clear releases, editor extensions, configuration docs, and no requirement that Node.js be present for manual installation.

### 时间线

- 2020: Rome tools repository created.
- 2023: biomejs/biome repository created.
- 2023: Biome CLI v1.0.0 released.
- 2024: Biome v1.5 and v1.6 releases continued the stable CLI line.
- 2025: Biome CLI v2.0.0 released.
- 2026: Biome v2.5 blog announced more than 500 lint rules.

### Related projects

- Biome is historically related to Rome and functionally related to Prettier, ESLint, typescript-eslint, JSON/CSS/GraphQL formatters, language-server tooling, and editor extensions for VS Code, Open VSX-compatible editors, and JetBrains IDEs.
- The project also absorbed GritQL under the Biome organization, using it as a plugin language according to the official Biome blog.

### 来源

- <https://biomejs.dev/blog/announcing-biome/>
- <https://biomejs.dev/blog/biome-v2-5/>
- <https://github.com/biomejs/biome>
- <https://github.com/biomejs/biome/releases>
- <https://github.com/rome/tools>
- <https://raw.githubusercontent.com/biomejs/biome/main/packages/%40biomejs/biome/README.md>
- source_facts.package-manager


## 安全说明

没有找到 biome 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: biome.json, biome.jsonc, .biome.json,, .biome.jsonc in the current working directory, parent folders, $XDG_CONFIG_HOME/biome, ~/.config/biome
- macOS: biome.json, biome.jsonc, .biome.json,, .biome.jsonc in the current working directory, parent folders, /Users/$USER/Library/Application Support/biome
- Windows: biome.json, biome.jsonc, .biome.json,, .biome.jsonc in the current working directory, parent folders, C:\Users\$USER\AppData\Roaming\biome\config
## 其他软件包管理器记录

- Nix - biome: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/biome/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - biome - 2.3.13-r0: normalized package name match | Alpine Linux edge package indexes: biome from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Toolchain of the web | https://biomejs.dev/
- pacman - biome - 2.5.6-1: normalized package name match | Arch Linux sync databases: biome from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Formatter, linter, and more for Javascript, Typescript, JSON, and CSS | https://biomejs.dev
- zypper - biome - 2.5.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: biome from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A JavaScript and TypeScript toolchain | https://github.com/biomejs/biome
- Scoop - main/biome: normalized package name match | Scoop official bucket manifest trees: bucket/biome.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - BiomeJS.Biome: normalized package name match | Windows Package Manager source index: BiomeJS.Biome from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/biome.yml](https://github.com/mxcl/pkgdb/blob/main/combined/biome.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
