SK-404

Doc no. SK-404-U11PiBrewRev D · Sheet 2.24 of 4

U11

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

01

Block diagram

brew CLIbrew · pibrew · brewpi Formulae30 curated recipes CellarARM64 releases Linked/usr/local/bin APT fallbackany other package Pi hardwaredoctor · fan · gov Standard library only
Fig. 1: One command for packages and for the Pi's hardware
02

Characteristics

Package enginesInstalls 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 doctorbrew 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
Controlsbrew 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
Servicesbrew services lists, starts, stops, restarts and inspects systemd units in a Homebrew-style table
FootprintPure Python 3 standard library: no pip dependencies, and a start-up under 30 ms
Installsudo bash install.sh adds pibrew, a brew symlink and Bash and Zsh completions; brew, brewpi and pibrew run the same program
03

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.

04

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.

Revisions of SK-404-U11, newest first
RevDateChange
DDatasheet published on this site.
CLive progress bars for downloads, pours and APT; mole and desktop casks added.
BA first-class brewpi executable alias, shell completions and docs added.
Av1.0.0: first release of the Homebrew-style package and hardware manager for Raspberry Pi OS.

U12PiDeck