Installation¶
One-line install (recommended)¶
The install script auto-detects your Pi model and CPU architecture, downloads the correct binary from GitHub Releases, and installs it to /usr/local/bin.
To pin a specific version:
Supported architectures
The installer supports aarch64 (64-bit ARM), armv7l (32-bit ARM), and x86_64. ARMv6 (original Pi Zero, Pi 1) is not supported.
cargo install¶
If you have the Rust toolchain installed:
This builds pitop from source and installs the binary to ~/.cargo/bin/.
Build from source¶
git clone https://github.com/wu-hongjun/pitop.git
cd pitop
cargo build --release
sudo cp target/release/pitop /usr/local/bin/
Prerequisites¶
-
Rust 1.70+ -- install via rustup:
-
A C linker -- typically provided by
build-essentialon Debian/Raspberry Pi OS:
Cross-compile¶
You can build pitop on a faster machine and copy the binary to your Pi.
Cross-compilation linker
You may need to install a cross-compilation linker. On Ubuntu/Debian:
# For aarch64
sudo apt install gcc-aarch64-linux-gnu
# For armv7
sudo apt install gcc-arm-linux-gnueabihf
Then configure Cargo to use it by adding to ~/.cargo/config.toml:
Download binary¶
Download a prebuilt tarball from GitHub Releases:
Requirements¶
- Raspberry Pi (or any Linux system for basic features)
- Terminal with 256-color support (most modern terminals)
vcgencmdfor throttle/voltage/PMIC data (included in Raspberry Pi OS)
vcgencmd on non-Pi systems
If vcgencmd is not available (e.g., on a generic Linux system or a non-standard Pi OS), pitop still runs but Pi-specific features like power monitoring and throttle detection will be unavailable.
Verify installation¶
If the command prints a version number, pitop is installed and ready to use.