# 使用 Homebrew 安装 standard

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

## 安装

```sh
sudo av install brew:standard
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install standard
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:standard
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/standard>
- **版本:** 17.1.2
- **来源摘要:** JavaScript Style Guide, with linter & automatic code fixer
- **主页:** <https://standardjs.com/>
- **仓库:** <https://github.com/standard/standard>
- **上游文档:** <https://standardjs.com/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/standard/-/standard-17.1.2.tgz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- standard (cli)
- standard (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 17.1.2
- 本地数据: OK
- 上游仓库: https://standardjs.com/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

StandardJS, distributed by the `standard` CLI, packages a JavaScript style guide together with linting and automatic fixing. Its appeal in CLI and package-manager culture is that a project can install one package and run one command instead of maintaining a separate ESLint configuration.

### 项目历史

The project presents itself as a JavaScript style guide, linter, and formatter. Its own changelog records version 4.0.0 in May 2015, and later major releases track the underlying ESLint ecosystem, including the 2022 `standard` 17 release built around ESLint 8 compatibility.

### 采用历史

Adoption grew around the promise of no `.eslintrc` files and a repeatable `standard` command. The README explicitly encourages adding `standard` to `package.json` and wiring it into `npm test`, which made it fit the everyday workflow of npm packages, CI, and pull-request review.

### 使用方式

Typical use is installing `standard` globally or as a development dependency, then running `standard`, `npx standard`, or `standard --fix`. Configuration, when needed, is stored under the `standard` key in `package.json` rather than in a separate dotfile.

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

Package maintainers care about StandardJS because it made style enforcement feel like a dependency choice rather than a configuration project. It also demonstrates the tradeoff package ecosystems often debate: convention and speed over local bikeshedding.

### 时间线

- 2015: Changelog records StandardJS 4.0.0.
- 2016: Version 8.0.0 adds the built-in `--fix` workflow.
- 2022: Version 17 aligns StandardJS with ESLint 8.

### Related projects

- StandardJS is built around ESLint-related packages such as `eslint-config-standard`, `eslint-config-standard-jsx`, `standard-engine`, and ESLint plugins for import, promise, React, and Node rules.

### 来源

- <https://github.com/standard/standard README: describes the tool as a JavaScript style guide, linter, and formatter with no configuration and `standard --fix`.>
- <https://github.com/standard/standard/blob/master/CHANGELOG.md: records releases including 4.0.0, 8.0.0, and 17.0.0.>
- <https://github.com/standard/standard/blob/master/package.json: lists the official repository, homepage, dependencies, and keywords.>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: package.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** standard
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [protolint](https://pkg.so/zh-hans/brew/protolint/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, linter, style-guide.
- [eslint_d](https://pkg.so/zh-hans/brew/eslint-d/) - Shares pkgdb curated category or tags: cli, developer-tools, eslint, javascript, linter.
- [biome](https://pkg.so/zh-hans/brew/biome/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, linter.
- [prettier](https://pkg.so/zh-hans/brew/prettier/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, javascript.
- [eslint](https://pkg.so/zh-hans/brew/eslint/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, linter.
- [rumdl](https://pkg.so/zh-hans/brew/rumdl/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, linter.
- [ktlint](https://pkg.so/zh-hans/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, linter.
- [sqlfluff](https://pkg.so/zh-hans/brew/sqlfluff/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, linter.
- [standard](https://pkg.so/zh-hans/npm/standard/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, code, developer, developer-tools, eslint.
- [standard](https://pkg.so/zh-hans/npm/standard/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
