Doc no. SK-404-U11PiBrewRev D · Sheet 2.24 of 4
PiBrew
A Homebrew-style package and hardware manager for Raspberry Pi OS: curated ARM64 formulae, an APT fallback, a hardware-aware brew doctor and fan and governor controls.
ActiveRev D · 1 Dec 2026
Private repository
$ brew doctor
Block diagram
Characteristics
| Package engines | Installs from 30 curated formulae (ARM64 GitHub release tarballs, custom installers or APT) into /var/lib/pibrew/Cellar, links them into /usr/local/bin and falls back to Debian APT for any other package |
|---|---|
| Hardware doctor | brew doctor decodes vcgencmd get_throttled for active and past under-voltage and throttling, and checks the 5 A USB-C supply, fan tachometer, PCIe Gen 3 and EEPROM, and failed systemd services |
| Controls | brew fan takes auto, silent, balanced, aggressive, max or a PWM value from 0 to 255; brew gov switches the CPU scaling governor on every core; brew stats shows live gauges |
| Services | brew services lists, starts, stops, restarts and inspects systemd units in a Homebrew-style table |
| Footprint | Pure Python 3 standard library: no pip dependencies, and a start-up under 30 ms |
| Install | sudo bash install.sh adds pibrew, a brew symlink and Bash and Zsh completions; brew, brewpi and pibrew run the same program |
Overview & build notes
PiBrew brings the Homebrew command line to Raspberry Pi OS (Debian ARM64): the same ==> arrows, Pouring... lines, caveats and tables, so a Mac habit works on a Pi as it is.
It also treats the Pi as hardware. brew doctor explains an under-voltage or throttling flag and how to fix it, brew stats shows temperature, fan speed, governor and the AI NPU, and brew fan and brew gov change cooling and clocks on the spot.
Downloads, pours and APT installs draw live progress bars. The curated list covers tools such as ollama, btop, tailscale, docker, cloudflared and pi-deck, the thermal dashboard that has its own datasheet as PiDeck.
Revision history
The current revision is D. Revisions are lettered from A in the order they were made, so a letter always means the same change.
| Rev | Date | Change |
|---|---|---|
| D | Datasheet published on this site. | |
| C | Live progress bars for downloads, pours and APT; mole and desktop casks added. | |
| B | A first-class brewpi executable alias, shell completions and docs added. | |
| A | v1.0.0: first release of the Homebrew-style package and hardware manager for Raspberry Pi OS. |