# 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

```sh
sudo av install brew:gops
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gops
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gops
```

  Evidence: Alpine Linux edge package indexes: gops from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install gops
```

  Evidence: Fedora Rawhide package metadata: gops from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gops
```

  Evidence: nixpkgs package indexes: pkgs/by-name/go/gops/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install gops
```

  Evidence: openSUSE Tumbleweed package metadata: gops from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:gops
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gops>
- **Version:** 0.3.29
- **Source summary:** Tool to list and diagnose Go processes currently running on your system
- **Homepage:** <https://github.com/google/gops>
- **Repository:** <https://github.com/google/gops>
- **Upstream docs:** <https://github.com/google/gops#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/google/gops/archive/refs/tags/v0.3.29.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gops (cli)
- gops (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.3.29
- Local data: ok
- Upstream repository: https://github.com/google/gops
- Upstream latest detected: v0.3.29 (current)
- info: No package-manager update timestamp was available.
## 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.

### Sources

- <https://github.com/google/gops>
- <https://pkg.go.dev/github.com/google/gops>
- <https://pkg.go.dev/github.com/google/gops/agent>
- <https://pkg.go.dev/runtime/pprof>
- <https://pkg.go.dev/runtime/trace>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gops
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - gops: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gops/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gops - 0.3.29-r2: normalized package name match | Alpine Linux edge package indexes: gops from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | List and diagnose Go processes currently running on your system | https://github.com/google/gops
- apk - gops-bash-completion - 0.3.29-r2: normalized package name match | Alpine Linux edge package indexes: gops-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for gops | https://github.com/google/gops
- apk - gops-fish-completion - 0.3.29-r2: normalized package name match | Alpine Linux edge package indexes: gops-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for gops | https://github.com/google/gops
- apk - gops-zsh-completion - 0.3.29-r2: normalized package name match | Alpine Linux edge package indexes: gops-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for gops | https://github.com/google/gops
- dnf - gops - 0.3.29-5.fc45: normalized package name match | Fedora Rawhide package metadata: gops from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | List and diagnose Go processes currently running on your system | https://github.com/google/gops
- zypper - gops - 0.3.28-1.6: normalized package name match | openSUSE Tumbleweed package metadata: gops from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A tool to list and diagnose Go processes currently running on your system | https://github.com/google/gops


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [eatmemory](https://www.automicvault.com/pkg/brew/eatmemory/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [inxi](https://www.automicvault.com/pkg/brew/inxi/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [libgtop](https://www.automicvault.com/pkg/brew/libgtop/) - Shares av.db curated category or tags: cli, process-monitoring, processes, system.
- [pstree](https://www.automicvault.com/pkg/brew/pstree/) - Shares av.db curated category or tags: cli, process-monitoring, processes, system.
- [xdpyinfo](https://www.automicvault.com/pkg/brew/xdpyinfo/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [lsof](https://www.automicvault.com/pkg/brew/lsof/) - Shares av.db curated category or tags: cli, diagnostics, monitoring, processes, system.
- [mactop](https://www.automicvault.com/pkg/brew/mactop/) - Shares av.db curated category or tags: cli, go, monitoring, system.
- [memtester](https://www.automicvault.com/pkg/brew/memtester/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [witr](https://www.automicvault.com/pkg/brew/witr/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, diagnostics, go, process, running.

## Combined YAML source

View the package source record on GitHub. [combined/gops.yml](https://github.com/automic-vault/db/blob/main/combined/gops.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
