macOS
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de staticcheck pour les workflows d'agents IA.
installation
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
aperçu
State of the art linter for the Go programming language
historique
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.
posture de sécurité
generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des 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.confexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
staticcheck | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/dominikh/go-tools
métadonnées d'installation
| Clé du paquet | brew:staticcheck |
|---|---|
| Version | 2026.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/staticcheck |
| Page d'accueil | https://staticcheck.dev/ |
| Dépôt | https://github.com/dominikh/go-tools |
| Docs amont | https://staticcheck.dev/docs |
| Licence | MIT |
| Archive source | https://github.com/dominikh/go-tools/archive/refs/tags/2026.1.tar.gz |
| Dernière mise à jour | 2026-07-08T03:14:15Z |
| Pulse | updated |
| Dépendances | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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/staticcheckpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.