Automic VaultAutomic Vault

brew

Install gops with Homebrew, apk, dnf, Nix, zypper

Tool to list and diagnose Go processes currently running on your system. Version 0.3.29 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gops

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add gops

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

Fedora dnfverified · 92%
sudo dnf install gops

Fedora Rawhide package metadata · gops · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gops

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

openSUSE zypperverified · 92%
sudo zypper install gops

openSUSE Tumbleweed package metadata · gops · source: download.opensuse.org

overview

Package summary

Tool to list and diagnose Go processes currently running on your system

Commands and aliases

  • gops

history

Project history and usage

gops is a Google-maintained command for listing and diagnosing Go processes on a machine. It made Go runtime introspection feel like a normal system-admin command: list Go binaries, inspect runtime state, and ask instrumented processes for stack, memory, GC, pprof, and trace data.

Project history

The google/gops repository was created in 2016. Its README describes a tool that lists Go processes and can diagnose processes that start the optional gops agent.

gops built on a Go-specific runtime reality: Go binaries carry enough build/runtime identity to make process listing useful, and the runtime exposes diagnostics such as goroutine stacks, memory statistics, pprof profiles, garbage collection controls, and execution tracing.

The project retained a small command-line surface while expanding subcommands around local PID inspection and remote host:port agent access.

Adoption history

gops became a recognizable Go ecosystem utility because it solves a problem shared by many Go service operators: identifying which processes are Go programs and collecting runtime diagnostics without attaching a general-purpose debugger.

The input package facts list Homebrew, Alpine, Fedora, Nix, and openSUSE packages. That packaging breadth reflects a system-tool role across developer workstations and server-oriented Linux distributions.

The optional agent model limited universal introspection but made deeper diagnostics explicit: uninstrumented Go processes can be listed, while applications that import `github.com/google/gops/agent` expose richer data.

How it is used

Running `gops` with no arguments lists local Go processes with PID, parent PID, program name, Go version, and binary path. Processes running the gops agent are marked in the list.

With a PID or agent address, gops can report process details, stack traces, memory statistics, runtime stats, GC settings, CPU and heap pprof profiles, and execution traces.

The README documents both local mode, where the target process must run as the same user, and remote mode, where the user supplies the agent address.

Why package nerds care

gops is package-nerd bait because it is both a command and an importable agent package. Installing the binary is useful, but the most interesting behavior appears when Go programs deliberately import the agent.

It also shows why language-specific process tools exist alongside generic Unix tools: `ps`, `top`, and `lsof` know processes, but gops knows Go runtime concepts such as goroutines, heap profiles, and Go build versions.

Timeline

  • 2016: google/gops repository created.
  • 2017: README examples show Go 1.9-era process listing and runtime diagnostics.
  • 2010s: Project documents optional `github.com/google/gops/agent` integration for richer diagnostics.
  • 2020s: Distribution appears across Homebrew and multiple Linux package sets.

Related projects

  • Go's runtime/pprof and runtime tracing facilities provide the diagnostic substrate for gops commands.
  • The gops agent package is embedded by target Go programs that want remote or richer inspection.
  • Generic system tools such as ps and pprof overlap with parts of the gops workflow, but gops packages Go-specific discovery and diagnostics together.

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.
  • 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
gopscliglobal 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 version0.3.29
manager updated
local dataok
upstreamcurrent
latest detectedv0.3.29

https://github.com/google/gops

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:gops
Version0.3.29
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gops
Homepagehttps://github.com/google/gops
Repositoryhttps://github.com/google/gops
Upstream docshttps://github.com/google/gops#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/google/gops/archive/refs/tags/v0.3.29.tar.gz
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 Namegops
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%

gops

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

gops 0.3.29-r2

List and diagnose Go processes currently running on your system

https://github.com/google/gops

sudo apk add gops
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gops-bash-completion 0.3.29-r2

Bash completions for gops

https://github.com/google/gops

sudo apk add gops-bash-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • normalized package name match
  • Matched by: Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gops-fish-completion 0.3.29-r2

Fish completions for gops

https://github.com/google/gops

sudo apk add gops-fish-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • normalized package name match
  • Matched by: Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gops-zsh-completion 0.3.29-r2

Zsh completions for gops

https://github.com/google/gops

sudo apk add gops-zsh-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • normalized package name match
  • Matched by: Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gops 0.3.29-5.fc45

List and diagnose Go processes currently running on your system

https://github.com/google/gops

sudo dnf install gops
  • License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gops
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gops
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gops from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

gops 0.3.28-1.6

A tool to list and diagnose Go processes currently running on your system

https://github.com/google/gops

sudo zypper install gops
  • License: BSD-3-Clause-Clear
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: gops
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gops
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gops from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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