# eslint を Homebrew, apt, Nix, pacman でインストール

eslint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:eslint
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install eslint
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install eslint
```

  証拠: Debian stable package indexes: eslint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#eslint
```

  証拠: nixpkgs package indexes: pkgs/by-name/es/eslint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S eslint
```

  証拠: Arch Linux sync databases: eslint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:eslint
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/eslint>
- **バージョン:** 10.8.0
- **ソース概要:** AST-based pattern checker for JavaScript
- **ホームページ:** <https://eslint.org>
- **リポジトリ:** <https://github.com/eslint/eslint>
- **上流ドキュメント:** <https://eslint.org>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/eslint/-/eslint-10.8.0.tgz>
- **最終更新:** 2026-07-25T20:47:29Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- eslint (cli)
- eslint (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 10.8.0
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://eslint.org
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

ESLint is the dominant pluggable linter for ECMAScript and JavaScript projects. Its own README defines it as a tool for identifying and reporting patterns in JavaScript code, built around AST analysis and a runtime-pluggable rule model.

### プロジェクトの歴史

ESLint appeared on npm in 2013 and reached 1.0.0 in July 2015. The official 1.0.0 announcement described that milestone as the first major release after more than two years of work and as the stable base for future growth.

The project differentiated itself from JSLint and JSHint by using Espree for parsing, evaluating code through an AST, and making every rule pluggable. That architecture made ESLint attractive both as an end-user CLI and as a library for editor integrations, shareable configs, and custom rule packages.

Configuration has been one of ESLint's major historical arcs. The original eslintrc system accumulated multiple file formats and lookup rules; in 2022 the project introduced flat config, centered on `eslint.config.js`, as a simpler model. ESLint v9.0.0 made flat config the default and officially deprecated eslintrc.

### 採用の歴史

ESLint became a default dependency in JavaScript projects because it solved both style and correctness checks through one package ecosystem. The README links npm version and download badges, Open Collective funding, official docs, rules, contribution paths, and scheduled releases, reflecting a mature tool maintained as public infrastructure.

The plugin and shareable-config model drove adoption beyond core JavaScript. React, TypeScript, framework, import-order, accessibility, security, and formatting-adjacent workflows all built on ESLint's rule API, which made `eslint` a central package in Node.js development even when a project used higher-level presets.

The official release process also shaped adoption: the project publishes scheduled releases every two weeks and documents semver policies for rule, CLI, formatter, and API changes, which matters because lint rule updates can change build outcomes.

### 使われ方

Typical package-manager usage starts with `npm init @eslint/config@latest` and then `npx eslint yourfile.js`, while Homebrew and OS packages provide an `eslint` executable for users who install developer tools outside a project-local npm workflow.

Current ESLint configuration lives in a project-root flat config file named `eslint.config.js`, `eslint.config.mjs`, `eslint.config.cjs`, or a TypeScript variant with additional setup. Those files export configuration objects that set rules, plugins, language options, ignores, processors, and related linting behavior.

ESLint is used directly in terminals and CI, indirectly through editor integrations, and as an API consumed by other tools. Its significance in package-manager culture comes from how often it appears in `devDependencies`, lockfiles, shareable configs, monorepo lint scripts, and pre-commit or CI quality gates.

### パッケージ好きにとっての重要性

For package nerds, ESLint is a canonical example of a package ecosystem forming around a stable extension API: parser packages, plugins, config packages, formatter packages, and editor tooling all orbit the core package.

It is also one of the clearest examples of why developer-tool packages need careful semver. A minor rule behavior change can create new warnings, a major config migration can affect nearly every JavaScript project, and the project's own semver policy documents those tradeoffs explicitly.

### タイムライン

- 2013: ESLint first appears on npm.
- 2015: ESLint 1.0.0 released as the first major release.
- 2022: Flat config introduced publicly as a new configuration system.
- 2024: ESLint 9.0.0 makes flat config the default and deprecates eslintrc.
- 2026: ESLint 10.x releases continue the scheduled release cadence.

### Related projects

- ESLint is historically compared with JSLint and JSHint, and its ecosystem intersects with Espree, typescript-eslint, Babel parser integrations, eslint-plugin-react, Prettier, editor integrations, and shareable config packages.

### ソース

- <https://github.com/eslint/eslint>
- <https://eslint.org/docs/latest>
- <https://eslint.org/docs/latest/use/configure/configuration-files>
- <https://eslint.org/blog/2015/07/eslint-1.0.0-released/>
- <https://eslint.org/blog/2022/08/new-config-system-part-2/>
- <https://eslint.org/blog/2024/04/eslint-v9.0.0-released/>
- <https://www.npmjs.com/package/eslint>
- <https://formulae.brew.sh/formula/eslint>


## セキュリティノート

eslint に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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

- Unix: PROJECT_ROOT/eslint.config.js, PROJECT_ROOT/eslint.config.mjs, PROJECT_ROOT/eslint.config.cjs, PROJECT_ROOT/eslint.config.ts, PROJECT_ROOT/eslint.config.mts, PROJECT_ROOT/eslint.config.cts
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** eslint
- **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

## 他のパッケージマネージャ記録

- Debian apt - eslint - 6.4.0~dfsg+~6.1.9-12: normalized package name match | Debian stable package indexes: eslint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AST-based pattern checker for JavaScript | https://eslint.org/
- Nix - eslint: normalized package name match | nixpkgs package indexes: pkgs/by-name/es/eslint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - eslint - 6.4.0~dfsg+~6.1.9-11build3: normalized package name match | Ubuntu 24.04 LTS package indexes: eslint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | AST-based pattern checker for JavaScript | https://eslint.org/
- pacman - eslint - 10.8.0-1: normalized package name match | Arch Linux sync databases: eslint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An AST-based pattern checker for JavaScript | https://eslint.org


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [pmd](https://pkg.so/ja/brew/pmd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, javascript, linter.
- [pylint](https://pkg.so/ja/brew/pylint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [luacheck](https://pkg.so/ja/brew/luacheck/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [selene](https://pkg.so/ja/brew/selene/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [revive](https://pkg.so/ja/brew/revive/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [ktlint](https://pkg.so/ja/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [kube-linter](https://pkg.so/ja/brew/kube-linter/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [phpstan](https://pkg.so/ja/brew/phpstan/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [eslint](https://pkg.so/ja/npm/eslint/) - Same normalized package name appears in another local ecosystem. Shared terms: ast, ast-based, based, checker, cli.
- [eslint_d](https://pkg.so/ja/brew/eslint-d/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, developer, developer-tools, eslint.
- [eslint-cli](https://pkg.so/ja/npm/eslint-cli/) - Executable or command metadata overlaps with this package. Shared terms: cli, code, code-quality, developer, developer-tools.
- [eslint](https://pkg.so/ja/npm/eslint/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/eslint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/eslint.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
- external package-manager database matches
- cross-ecosystem install command graph
