Automic VaultAutomic Vault

brew

Install golangci-lint with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Fast linters runner for Go. Version 2.12.2 via Homebrew; verified 2026-05-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install golangci-lint

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install golangci-lint

MacPorts ports tree · devel/golangci-lint/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add golangci-lint

Alpine Linux edge package indexes · golangci-lint · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install golangci-lint

Fedora Rawhide package metadata · golangci-lint · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#golangci-lint

nixpkgs package indexes · pkgs/by-name/go/golangci-lint/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S golangci-lint

Arch Linux sync databases · golangci-lint · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install golangci-lint

openSUSE Tumbleweed package metadata · golangci-lint · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install golangci-lint

Chocolatey community package catalog · golangci-lint · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/golangci-lint

Scoop official bucket manifest trees · bucket/golangci-lint.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id GolangCI.golangci-lint -e

Windows Package Manager source index · GolangCI.golangci-lint · source: cdn.winget.microsoft.com

overview

Package summary

Fast linters runner for Go

Commands and aliases

  • golangci-lint

history

Project history and usage

golangci-lint is a fast Go linters runner. The project presents itself as a parallel, cached runner with YAML configuration, major IDE integration, and more than one hundred included linters.

Project history

The GitHub repository was created in May 2018. The project grew around a simple premise: run many Go linters together, make the result fast enough for local and CI use, and centralize configuration in `.golangci` files.

By 2019 and 2020 the changelog shows the project adding Go version support, more linters, GitHub Actions output, bash completions, junit-xml output, auto-fixing improvements, and a dedicated website. The May 2020 changelog entry records the launch of `golangci-lint.run`.

The v1 line accumulated a long compatibility history and ended with the project documenting v1.64.2 as the last minor v1 release before v2. The v2 changelog begins in 2025 and introduced product-level changes such as a new `golangci-lint fmt` command and separated v1/v2 changelog documentation.

Adoption history

golangci-lint became a default Go quality gate because it packaged many independent analyzers behind one binary and one config file. Its README advertises installation for local machines and CI/CD systems, and the batch input records packages across apk, Homebrew, Chocolatey, dnf, MacPorts, Nix, pacman, Scoop, winget, and zypper.

The project also maintains an official GitHub Action, listed in GitHub Marketplace, for running golangci-lint and reporting issues in GitHub workflows. The repository had over 19,000 stars and more than 1,500 forks in the 2026 GitHub API snapshot used for this batch.

How it is used

The normal package-manager workflow is to install `golangci-lint`, add a `.golangci.yml` or equivalent config to the repository, and run `golangci-lint run` locally or in CI. The project documents integrations for editors and shells as well as CI installation paths.

Its value comes from combining speed and policy. Teams can enable a curated set of linters, cache work between runs, use generated output formats for CI annotations, and keep Go lint rules close to the source tree in a checked-in config file.

Why package nerds care

For package nerds, golangci-lint is one of the canonical Go toolbox binaries: version-sensitive, CI-facing, heavily bottled, and commonly pinned in development environments. It is also a stress test for package ecosystems because it embeds many analyzers whose compatibility tracks Go releases.

It matters culturally because it made Go linting feel like installing one dependable command instead of assembling a personal pile of analyzer binaries. That is exactly the kind of tool Homebrew, Nix, Arch, and CI images tend to converge on.

Timeline

  • 2018: GitHub repository created for a fast Go linters runner.
  • 2019: Changelog records Go 1.12 and Go 1.13 support, new linters, junit-xml output, bash completions, and improved auto-fixing.
  • 2020: Dedicated website launched at `golangci-lint.run`; GitHub Actions output and additional linters added.
  • 2025: v1.64.2 documented as the last minor v1 release before v2.
  • 2025: v2 changelog begins with product changes including formatting support and separated v1/v2 documentation.

Related projects

  • The official `golangci-lint-action` runs golangci-lint in GitHub Actions.
  • golangci-lint wraps and coordinates many Go analyzers, including tools from the Staticcheck and go/analysis ecosystem.
  • golangci-lint-langserver and editor integrations adapt the CLI's diagnostics for local development.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to 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
./.golangci.yml./.golangci.yaml./.golangci.toml./.golangci.json~/.golangci.yml~/.golangci.yaml~/.golangci.toml~/.golangci.json

executables

Installed executables

CommandKindExposureNote
golangci-lintcliglobal executable

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-07-08
manager version2.12.2
manager updated2026-05-06
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/golangci/golangci-lint

install metadata

Package metadata

Package keybrew:golangci-lint
Version2.12.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/golangci-lint
Homepagehttps://golangci-lint.run/
Repositoryhttps://github.com/golangci/golangci-lint
Upstream docshttps://golangci-lint.run/
LicenseGPL-3.0-only
Source archivehttps://github.com/golangci/golangci-lint.git
Last updated2026-05-06T12:03:02Z
Pulseupdated
Dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

golangci-lint

nix profile install nixpkgs#golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/golangci-lint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

golangci-lint 2.5.0-r7

Fast linters runner for Go

https://golangci-lint.run/

sudo apk add golangci-lint
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: golangci-lint
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Golangci Lint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: golangci-lint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

golangci-lint-bash-completion 2.5.0-r7

Bash completions for golangci-lint

https://golangci-lint.run/

sudo apk add golangci-lint-bash-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: golangci-lint-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

golangci-lint-fish-completion 2.5.0-r7

Fish completions for golangci-lint

https://golangci-lint.run/

sudo apk add golangci-lint-fish-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: golangci-lint-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

golangci-lint-zsh-completion 2.5.0-r7

Zsh completions for golangci-lint

https://golangci-lint.run/

sudo apk add golangci-lint-zsh-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: golangci-lint-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

golangci-lint 2.11.4-1.fc45

Fast linters runner for Go

https://github.com/golangci/golangci-lint

sudo dnf install golangci-lint
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-3.0-only AND ISC AND MIT AND MPL-2.0 AND Unlicense AND (MIT OR Unlicense)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: golangci-lint
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Golangci Lint
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: golangci-lint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

golangci-lint 2.12.2-1

Fast linters runner for Go

https://github.com/golangci/golangci-lint

sudo pacman -S golangci-lint
  • License: GPL-3.0-only
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Golangci Lint
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: golangci-lint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

golangci-lint 2.12.2-1.1

A fast Go linters runner

https://golangci-lint.run

sudo zypper install golangci-lint
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: golangci-lint
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Golangci Lint
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: golangci-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

golangci-lint

sudo port install golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/golangci-lint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

golangci-lint

choco install golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: golangci-lint from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','glab'
Scoop95%

main/golangci-lint

scoop install main/golangci-lint
  • normalized package name match
  • Matched by: Golangci Lint
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/golangci-lint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

GolangCI.golangci-lint

winget install --id GolangCI.golangci-lint -e
  • normalized package name match
  • Matched by: Golangci Lint
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GolangCI.golangci-lint from https://cdn.winget.microsoft.com/cache/source.msix

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
  • 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