# Installer solhint avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de solhint pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install solhint
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:solhint
- **Gestionnaire de paquets:** Homebrew
- **Version:** 6.2.3
- **Résumé source:** Linter for Solidity code
- **Page d'accueil:** <https://protofire.github.io/solhint/>
- **Dernière mise à jour:** 2026-06-20T18:31:21Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- solhint (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 6.2.3
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- 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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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

## Combined YAML source

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


## Sources

- 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
