Command-line tool
pstree
brew/pstree
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Show ps output as a tree
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install pstree
Linux
brew install pstree
Display a tree of all processes (rooted at init)
pstree
Display a tree of processes with PIDs
pstree -p
Display all process trees rooted at processes owned by specified user
pstree user
Related command-line tools
- TrueTree
Command-line tool for pstree-like output - tree
Display directories as trees (with optional color/HTML output) - tree-rs
tree-rs is a cross platform reimplementation of the linux tree command. It supports colored output and specifying the… - castxml
C-family Abstract Syntax Tree XML Output - gource
Version Control Visualization Tool git visualization versioncontrol - protoc-gen-buffa-packaging
protoc plugin that emits a mod.rs module tree for buffa per-file output - cargo-modules
A cargo plugin for showing a tree-like overview of a crate's modules. - dutree
Tool to analyze file system usage written in Rust
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents