pkg.soopen package index

brew / rank 7817

Install errcheck with Homebrew, Nix

Finds silently ignored errors in Go code. Version 1.20.0 via Homebrew; verified 2026-09-12. Also installable with nix: nix profile install nixpkgs#errcheck.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install errcheck

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#errcheck

nixpkgs package indexes · pkgs/by-name/er/errcheck/package.nix · source: api.github.com

overview

Package summary

Finds silently ignored errors in Go code

Commands and aliases

  • errcheck

history

Project history and usage

errcheck is a Go static-analysis command that reports error-valued results which are neither assigned nor explicitly discarded.

Project history

errcheck is maintained in the kisielk/errcheck repository as a focused static-analysis command for detecting unchecked Go error returns. Upstream also exposes an experimental Analyzer for integration with the go/analysis API.

Adoption history

errcheck became a familiar component of Go static-analysis workflows and is distributed through Go installation tooling as well as system package managers such as Homebrew and Nix, as recorded in source_facts.package-manager.

How it is used

Users run `errcheck` against one or more Go package patterns, commonly `./...`. Optional checks cover blank-identifier assignments and type assertions, while `-exclude` accepts an explicitly selected exclusions file. Because upstream documents no fixed default configuration path, the config-file-location is null.

Why package nerds care

The tool captures a characteristic Go concern: returned errors are ordinary values and may be accidentally discarded. Package enthusiasts value errcheck as a focused Unix-style checker and as an early, recognizable member of the broader Go linting ecosystem.

Timeline

  • Current project: Distributed as a Go command and an experimental go/analysis Analyzer.

Related projects

  • The official README points users seeking deeper analysis toward Staticcheck. errcheck is also commonly encountered through multi-linter runners, although its standalone command remains useful.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for errcheck. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

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
errcheckcliglobal 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-09-19
manager version1.20.0
manager updated2026-09-12
local dataok
upstreamcurrent
latest detectedv1.20.0

https://github.com/kisielk/errcheck

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:errcheck
Version1.20.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/errcheck
Homepagehttps://github.com/kisielk/errcheck
Repositoryhttps://github.com/kisielk/errcheck
LicenseMIT
Source archivehttps://github.com/kisielk/errcheck/archive/refs/tags/v1.20.0.tar.gz
Last updated2026-09-12T10:23:02Z
Pulseupdated
Build 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 Nameerrcheck
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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%

errcheck

nix profile install nixpkgs#errcheck
  • normalized package name match
  • Matched by: Errcheck
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/er/errcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation