# 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
- **バージョン:** 2.40
- **ソース概要:** Show ps output as a tree
- **ホームページ:** <https://github.com/FredHucht/pstree>
- **リポジトリ:** <https://github.com/FredHucht/pstree>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- pstree (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.40

## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- 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


## 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
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
