# pstree を Homebrew, apk, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:pstree
```

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

### macOS

- Homebrew (100%):

```sh
brew install pstree
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pstree
```

  証拠: MacPorts ports tree: sysutils/pstree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pstree
```

  証拠: Alpine Linux edge package indexes: pstree from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#pstree
```

  証拠: nixpkgs package indexes: pkgs/by-name/ps/pstree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:pstree
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/pstree>
- **バージョン:** 2.40
- **ソース概要:** Show ps output as a tree
- **ホームページ:** <https://github.com/FredHucht/pstree>
- **リポジトリ:** <https://github.com/FredHucht/pstree>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://github.com/FredHucht/pstree/archive/refs/tags/v2.40.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.40
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/FredHucht/pstree
- 検出された最新: v2.40 (最新)
- 情報: No package-manager update timestamp was available.

## セキュリティノート

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:** pstree
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - pstree: normalized package name match | nixpkgs package indexes: pkgs/by-name/ps/pstree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - pstree - 2.40-r2: normalized package name match | Alpine Linux edge package indexes: pstree from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small tool to list processes as a tree | https://github.com/FredHucht/pstree
- apk - pstree-doc - 2.40-r2: normalized package name match | Alpine Linux edge package indexes: pstree-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small tool to list processes as a tree (documentation) | https://github.com/FredHucht/pstree
- MacPorts - pstree: normalized package name match | MacPorts ports tree: sysutils/pstree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [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.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [px](https://pkg.so/ja/brew/px/) - Shares pkgdb curated category or tags: cli, process-monitoring, ps, system, system-utility.
- [libgtop](https://pkg.so/ja/brew/libgtop/) - Shares pkgdb curated category or tags: cli, process-monitoring, processes, system.
- [procs](https://pkg.so/ja/brew/procs/) - Shares pkgdb curated category or tags: cli, processes, ps, system.
- [psgrep](https://pkg.so/ja/brew/psgrep/) - Shares pkgdb curated category or tags: cli, processes, system, system-utility.
- [progress](https://pkg.so/ja/brew/progress/) - Shares pkgdb curated category or tags: cli, process-monitoring, system.
- [procps](https://pkg.so/ja/brew/procps/) - Shares pkgdb curated category or tags: cli, processes, ps, system.
- [watch](https://pkg.so/ja/brew/watch/) - Shares pkgdb curated category or tags: cli, process-monitoring, system, system-utility.
- [switchaudio-osx](https://pkg.so/ja/brew/switchaudio-osx/) - Shares pkgdb curated category or tags: cli, system, system-utility.

## Combined YAML source

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


## ソース

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