Automic VaultAutomic Vault

brew

Installer staticcheck avec Homebrew, apk, dnf, MacPorts, pacman, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de staticcheck pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install staticcheck

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install staticcheck

MacPorts ports tree · devel/staticcheck/Portfile · Source: api.github.com

Windows

Scoopvérifié · 92%
scoop install main/staticcheck

Scoop official bucket manifest trees · bucket/staticcheck.json · Source: api.github.com

aperçu

Résumé du paquet

State of the art linter for the Go programming language

Commandes et alias

  • staticcheck

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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`.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2017: `dominikh/go-tools` repository created.
  • 2017: Staticcheck 2017.2 release published.
  • 2019: Staticcheck 2019.2 release notes described major performance and memory improvements.
  • 2026: Staticcheck 2026.1 and 2026.2 release candidates appeared in official releases.

Related projects

  • The same repository contains related tools such as `structlayout`, `structlayout-optimize`, and `structlayout-pretty`, and libraries used to implement the tools.

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:programming language

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

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

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
staticcheck.conf
Windows
staticcheck.conf

exécutables

Exécutables installés

CommandeTypeExpositionNote
staticcheckcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-25
version du gestionnaire2026.1
gestionnaire mis à jour2026-07-08
données localesOK
amontà jour
dernière version détectée2026.1

https://github.com/dominikh/go-tools

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:staticcheck
Version2026.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/staticcheck
Page d'accueilhttps://staticcheck.dev/
Dépôthttps://github.com/dominikh/go-tools
Docs amonthttps://staticcheck.dev/docs
LicenceMIT
Archive sourcehttps://github.com/dominikh/go-tools/archive/refs/tags/2026.1.tar.gz
Dernière mise à jour2026-07-08T03:14:15Z
Pulseupdated
Dépendancesgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

apk95%

staticcheck 2026.1-r3

advanced Go linter

https://github.com/dominikh/go-tools

sudo apk add staticcheck
  • License: MIT
  • Architecture: x86_64
  • Source Package: staticcheck
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Staticcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: staticcheck from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

staticcheck 2026.1-1.fc45

The advanced Go linter

https://github.com/dominikh/go-tools

sudo dnf install staticcheck
  • License: BSD-3-Clause AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: staticcheck
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Staticcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: staticcheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

staticcheck 2026.1-3

The advanced Go linter

https://staticcheck.io

sudo pacman -S staticcheck
  • License: MIT
  • Architecture: x86_64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Staticcheck
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: staticcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

staticcheck

sudo port install staticcheck
  • normalized package name match
  • Correspondance par : Staticcheck
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/staticcheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/staticcheck

scoop install main/staticcheck
  • normalized package name match
  • Correspondance par : Staticcheck
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/staticcheck.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment