macOS
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für staticcheck in AI-Agent-Workflows.
Installation
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · Quelle: api.github.com
sudo apk add staticcheckAlpine Linux edge package indexes · staticcheck · Quelle: dl-cdn.alpinelinux.org
sudo dnf install staticcheckFedora Rawhide package metadata · staticcheck · Quelle: dl.fedoraproject.org
sudo pacman -S staticcheckArch Linux sync databases · staticcheck · Quelle: geo.mirror.pkgbuild.com
scoop install main/staticcheckScoop official bucket manifest trees · bucket/staticcheck.json · Quelle: api.github.com
Überblick
State of the art linter for the Go programming language
Verlauf
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.
Sicherheitslage
generalized runtime or code generation signal.
yellow Risiko · mittel Konfidenz · runtime
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
staticcheck | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/dominikh/go-tools
Installationsmetadaten
| Paketschlüssel | brew:staticcheck |
|---|---|
| Version | 2026.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/staticcheck |
| Homepage | https://staticcheck.dev/ |
| Repository | https://github.com/dominikh/go-tools |
| Upstream-Dokumentation | https://staticcheck.dev/docs |
| Lizenz | MIT |
| Quellarchiv | https://github.com/dominikh/go-tools/archive/refs/tags/2026.1.tar.gz |
| Zuletzt aktualisiert | 2026-07-08T03:14:15Z |
| Pulse | updated |
| Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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/staticcheckQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.