# Installer gops avec Homebrew, apk, dnf, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gops pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gops
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gops
```

  Preuve: 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
```

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

- Nix (92%):

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

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:gops
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.3.29
- **Résumé source:** Tool to list and diagnose Go processes currently running on your system
- **Page d'accueil:** <https://github.com/google/gops>
- **Dépôt:** <https://github.com/google/gops>
- **Dernière mise à jour:** 2026-07-25T20:55:25-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gops (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.3.29
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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-r3: 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-r3: 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-r3: 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-r3: 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-6.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | List and diagnose Go processes currently running on your system | https://github.com/google/gops
- zypper - gops - 0.3.28-1.9: normalized package name match | openSUSE Tumbleweed package metadata: gops from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A tool to list and diagnose Go processes currently running on your system | https://github.com/google/gops


## Combined YAML source

View the package source record on GitHub. [combined/gops.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gops.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
