# 使用 Homebrew 安装 standard

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install standard
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:standard
- **软件包管理器:** Homebrew
- **版本:** 17.1.2
- **来源摘要:** JavaScript Style Guide, with linter & automatic code fixer
- **主页:** <https://standardjs.com/>
- **仓库:** <https://github.com/standard/standard>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- standard (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
