Automic VaultAutomic Vault

brew

Install solhint with Homebrew

Linter for Solidity code. Version 6.2.3 via Homebrew; verified 2026-06-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install solhint

local Homebrew formula metadata

overview

Package summary

Linter for Solidity code

Commands and aliases

  • solhint

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
.solhint.json

executables

Installed executables

CommandKindExposureNote
solhintcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version6.2.3
manager updated2026-06-20
local dataok
upstreamnot checked
latest detectednot detected

https://protofire.github.io/solhint/

install metadata

Package metadata

Package keybrew:solhint
Version6.2.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/solhint
Homepagehttps://protofire.github.io/solhint/
Repositoryhttps://github.com/protofire/solhint
Upstream docshttps://github.com/protofire/solhint#readme
LicenseMIT
Source archivehttps://registry.npmjs.org/solhint/-/solhint-6.2.3.tgz
Last updated2026-06-20T18:31:21Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesolhint
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment