macOS
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · ソース: api.github.com
brew
staticcheck のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install staticchecklocal Homebrew formula metadata
sudo port install staticcheckMacPorts ports tree · devel/staticcheck/Portfile · ソース: api.github.com
sudo apk add staticcheckAlpine Linux edge package indexes · staticcheck · ソース: dl-cdn.alpinelinux.org
sudo dnf install staticcheckFedora Rawhide package metadata · staticcheck · ソース: dl.fedoraproject.org
sudo pacman -S staticcheckArch Linux sync databases · staticcheck · ソース: geo.mirror.pkgbuild.com
scoop install main/staticcheckScoop official bucket manifest trees · bucket/staticcheck.json · ソース: api.github.com
概要
State of the art linter for the Go programming language
履歴
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.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.conf実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
staticcheck | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/dominikh/go-tools
インストールメタデータ
| パッケージキー | brew:staticcheck |
|---|---|
| バージョン | 2026.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/staticcheck |
| ホームページ | https://staticcheck.dev/ |
| リポジトリ | https://github.com/dominikh/go-tools |
| 上流ドキュメント | https://staticcheck.dev/docs |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/dominikh/go-tools/archive/refs/tags/2026.1.tar.gz |
| 最終更新 | 2026-07-08T03:14:15Z |
| Pulse | updated |
| 依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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/staticcheckソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.