macOS
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · source: api.github.com
brew
State of the art linter for the Go programming language. Version 2026.1 via Homebrew; verified 2026-07-08.
install
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · source: api.github.com
sudo apk add staticcheckAlpine Linux edge package indexes · staticcheck · source: dl-cdn.alpinelinux.org
sudo dnf install staticcheckFedora Rawhide package metadata · staticcheck · source: dl.fedoraproject.org
sudo pacman -S staticcheckArch Linux sync databases · staticcheck · source: geo.mirror.pkgbuild.com
scoop install main/staticcheckScoop official bucket manifest trees · bucket/staticcheck.json · source: api.github.com
overview
State of the art linter for the Go programming language
history
Staticcheck is a Go static-analysis command-line tool and one of the best-known third-party linters in the Go ecosystem. It is packaged as the `staticcheck` executable and is commonly installed with Go tooling or system package managers for local development and CI.
The upstream project lives in Dominik Honnef's `go-tools` repository, which was created in January 2017. The official README describes Staticcheck as an advanced Go linter that finds bugs and performance issues, offers simplifications, and enforces style rules.
Staticcheck publishes release notes on staticcheck.dev. The release-note index records releases from 2017.2 through the 2026 series, showing a long-running tool with versioned compatibility work alongside Go's release cadence.
The input package metadata lists Staticcheck in Homebrew, Alpine, Fedora, MacPorts, Arch, and Scoop. The official documentation also recommends installing released versions with `go install honnef.co/go/tools/cmd/staticcheck@latest` on modern Go versions or using prebuilt binaries from GitHub releases.
Staticcheck's package-manager footprint reflects its role as a standard quality gate for Go projects. It is useful as a standalone CLI, as a CI check, and as a linter that complements the Go compiler and `go vet`.
Typical usage is to run `staticcheck` against Go packages or wire it into CI. The tool can analyze code targeting Go versions up to the latest release, while the project recommends using tagged releases instead of master for stable builds.
Package nerds care about Staticcheck because it is a canonical example of a language ecosystem tool that lives outside the core toolchain but is widely treated as infrastructure. Its version tags, prebuilt binaries, and `go install` path make it straightforward to pin in reproducible builds.
For package managers, Staticcheck is high-value despite being a single executable: it is heavily used by Go developers, has stable release notes, and represents the broader `honnef.co/go/tools` analyzer collection.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
staticcheck.confstaticcheck.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
staticcheck | cli | global executable |
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.
https://github.com/dominikh/go-tools
install metadata
| Package key | brew:staticcheck |
|---|---|
| Version | 2026.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/staticcheck |
| Homepage | https://staticcheck.dev/ |
| Repository | https://github.com/dominikh/go-tools |
| Upstream docs | https://staticcheck.dev/docs |
| License | MIT |
| Source archive | https://github.com/dominikh/go-tools/archive/refs/tags/2026.1.tar.gz |
| Last updated | 2026-07-08T03:14:15Z |
| Pulse | updated |
| Dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | staticcheck |
| Version Scheme | 0 |
| Revision | 5 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
staticcheck 2026.1-r3
advanced Go linter
https://github.com/dominikh/go-tools
sudo apk add staticcheckstaticcheck 2026.1-1.fc45
The advanced Go linter
https://github.com/dominikh/go-tools
sudo dnf install staticcheckstaticcheck 2026.1-3
The advanced Go linter
sudo pacman -S staticcheckstaticcheck
sudo port install staticcheckmain/staticcheck
scoop install main/staticchecksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.