# solhint を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:solhint
```

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

### macOS

- Homebrew (100%):

```sh
brew install solhint
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:solhint
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/solhint>
- **バージョン:** 6.2.3
- **ソース概要:** Linter for Solidity code
- **ホームページ:** <https://protofire.github.io/solhint/>
- **上流ドキュメント:** <https://protofire.github.io/solhint/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/solhint/-/solhint-6.2.3.tgz>
- **最終更新:** 2026-06-20T18:31:21Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- node

## インストール挙動

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

## バージョンと鮮度

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

Solhint is Protofire's open-source command-line linter for Solidity code, combining style-guide checks with security-oriented validations.

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

The official README describes Solhint as an open-source project for linting Solidity code and providing both security and style-guide validations. Its package metadata publishes the `solhint` binary and points to the Protofire GitHub repository and documentation site.

The changelog shows active maintenance through the 5.x and 6.x lines, including cache support, hierarchical configuration, Node.js support updates, and new Solidity-specific rules.

### 採用の歴史

Solhint fits the npm-first JavaScript tooling culture around Ethereum projects but is also packaged by Homebrew in the supplied facts. That gives smart-contract developers both a global npm install path and an OS package-manager path for the same CLI.

### 使われ方

The official README documents `npm install -g solhint`, `solhint --init` to create `.solhint.json`, and glob-based linting such as `solhint 'contracts/**/*.sol'`. It also supports comments, ignore files, cache mode, plugins, and configurable rule sets.

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

Solhint matters because Solidity projects are unusually sensitive to compiler versions, style conventions, and auditability. A packaged linter gives CI systems, editors, and local shells a common executable for catching Solidity-specific mistakes before deployment.

### タイムライン

- 2019: The official changelog records Solhint 2.0 alpha work.
- 2025: Solhint 5.2.0 adds cache support and multi-directory config support.
- 2025: Solhint 6.0.0 revises recommended rules and adds NatSpec enforcement.
- 2026: Solhint 6.2.3 is recorded in the official changelog and package metadata.

### Related projects

- Solhint is built for Solidity projects and references the Solidity style guide and smart-contract security validation practices. It complements compilers, formatters, and audit-oriented Ethereum developer tools.

### ソース

- Input package-manager facts: source_facts.package-manager
- Official README: https://github.com/protofire/solhint#readme
- Official changelog: https://github.com/protofire/solhint/blob/master/CHANGELOG.md
- Official documentation site: https://protofire.github.io/solhint
- Official package metadata: https://github.com/protofire/solhint/blob/master/package.json


## セキュリティノート

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: .solhint.json
## ソースデータベース詳細

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [foundry](https://pkg.so/ja/brew/foundry/) - Shares pkgdb curated category or tags: cli, developer-tools, ethereum, smart-contracts, solidity.
- [solc-select](https://pkg.so/ja/brew/solc-select/) - Shares pkgdb curated category or tags: cli, developer-tools, ethereum, smart-contracts, solidity.
- [swiftlint](https://pkg.so/ja/brew/swiftlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [ruff](https://pkg.so/ja/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [eslint](https://pkg.so/ja/brew/eslint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [ktlint](https://pkg.so/ja/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [pylint](https://pkg.so/ja/brew/pylint/) - 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.
- [solhint](https://pkg.so/ja/npm/solhint/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, code, contracts, developer, developer-tools.
- [htmlhint](https://pkg.so/ja/brew/htmlhint/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, developer, developer-tools.
- [solhint](https://pkg.so/ja/npm/solhint/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/solhint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/solhint.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
