# gops を Homebrew, apk, dnf, Nix, zypper でインストール

gops のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gops
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gops
```

  証拠: 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
```

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

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:gops
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gops>
- **バージョン:** 0.3.29
- **ソース概要:** Tool to list and diagnose Go processes currently running on your system
- **ホームページ:** <https://github.com/google/gops>
- **リポジトリ:** <https://github.com/google/gops>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://github.com/google/gops/archive/refs/tags/v0.3.29.tar.gz>
- **最終更新:** 2026-07-25T20:55:25-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gops (cli)
- gops (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.3.29
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/google/gops
- 検出された最新: v0.3.29 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [eatmemory](https://pkg.so/ja/brew/eatmemory/) - Shares pkgdb curated category or tags: cli, diagnostics, system.
- [mactop](https://pkg.so/ja/brew/mactop/) - Shares pkgdb curated category or tags: cli, go, monitoring, system.
- [witr](https://pkg.so/ja/brew/witr/) - Shares pkgdb curated category or tags: cli, diagnostics, go, system.
- [lsof](https://pkg.so/ja/brew/lsof/) - Shares pkgdb curated category or tags: cli, diagnostics, monitoring, processes, system.
- [memtester](https://pkg.so/ja/brew/memtester/) - Shares pkgdb curated category or tags: cli, diagnostics, system.
- [syswatch](https://pkg.so/ja/brew/syswatch/) - Shares pkgdb curated category or tags: cli, diagnostics, monitoring, system.
- [htop](https://pkg.so/ja/brew/htop/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [pv](https://pkg.so/ja/brew/pv/) - Shares pkgdb curated category or tags: cli, monitoring, system.

## Combined YAML source

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


## ソース

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