pkg.sopackage field notes

brew / rank 5105

Install go-critic with Homebrew

Opinionated Go source code linter. Version 0.14.4 via Homebrew; verified 2026-07-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install go-critic

provider-native install command

overview

Package summary

Opinionated Go source code linter

Commands and aliases

  • go-critic
  • gocritic

history

Project history and usage

go-critic is an opinionated static-analysis linter for Go source code. It collects diagnostics, style checks, performance checks, and experimental rules that are often missing from smaller, single-purpose Go linters.

Project history

The go-critic repository was created in 2018 and the project was announced that year as both a linter and a sandbox for prototyping static-analysis ideas. Its documentation describes project goals around providing useful checks, proving check implementations before proposing them elsewhere, and keeping useful checks that lack a better home.

Adoption history

go-critic became part of the broader Go linting ecosystem through direct CLI use and through golangci-lint, whose go-critic entry exposes it as `gocritic`. The repository README tells most users that using go-critic under golangci-lint is enough, reflecting its role as a specialized checker set inside larger lint pipelines.

How it is used

Practitioners run `go-critic check` against packages, directories, or files, enabling and disabling individual checks or tag groups such as diagnostic, style, performance, experimental, opinionated, and security. The CLI also includes `doc` for checker documentation and checker-specific parameters, which makes it useful both as a standalone audit tool and as a source of extra rules in CI.

Why package nerds care

For package catalogs, go-critic represents the Go ecosystem's preference for composable command-line analyzers. It can be installed as a small binary, run directly, or consumed by a linter runner, which lets distributions package it without owning editor or CI integration logic.

Timeline

  • 2018: The GitHub repository was created and the linter was announced.
  • 2019: v0.3.4 and v0.4.0 releases appeared on GitHub.
  • 2020: v0.4.x releases continued the checker-set expansion.
  • 2026: v0.14.x releases documented continued maintenance.

Related projects

  • golangci-lint
  • ruleguard
  • go vet
  • staticcheck

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
go-criticexecutableindexed executableDiscovered from the local executable index.
gocriticexecutableindexed executableDiscovered from the local executable index.

freshness

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

page generated2026-08-03
manager version0.14.4
manager updated2026-07-29
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:go-critic
Version0.14.4
Package managerHomebrew
Homepagehttps://go-critic.com
Repositoryhttps://github.com/go-critic/go-critic
Last updated2026-07-29T16:05:03+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation