Human-first Raspberry Pi diagnostics.
pi-doctor is a read-only CLI for checking common Raspberry Pi problems such as
identity mismatches, thermal throttling, config.txt drift, GPIO conflicts,
camera detection, and Python environment pitfalls.
curl -fsSL https://github.com/example/pi-doctor/releases/latest/download/install.sh | shInstall into a custom directory:
curl -fsSL https://github.com/example/pi-doctor/releases/latest/download/install.sh | sh -s -- --bin-dir ~/.local/binInstall a specific version:
curl -fsSL https://github.com/example/pi-doctor/releases/latest/download/install.sh | sh -s -- --version 0.1.0Download the archive for your platform from GitHub Releases, extract it, and
copy pi-doctor into a directory on your PATH.
A Homebrew formula template is provided in
packaging/homebrew/pi-doctor.rb.in for tap-based publishing.
Debian package metadata scaffolding is provided in packaging/debian/ so the
project can be wrapped as a .deb once release automation and distro review are
ready.
pi-doctor check
pi-doctor --json check
pi-doctor explain throttling
pi-doctor doctor gpio
pi-doctor support-bundleProject documentation lives under docs/ and is published as an MkDocs site.
Local preview:
python -m pip install mkdocs mkdocs-material
mkdocs serveAutomation should prefer pi-doctor check --json. The public CLI guarantees are
documented in docs/cli-contract.md, with supporting
details in docs/exit-codes.md and
docs/json-schema.md.
Tagged releases publish:
- target-specific archives for
x86_64-unknown-linux-gnu - target-specific archives for
aarch64-unknown-linux-gnu - target-specific archives for
armv7-unknown-linux-gnueabihf - per-archive
.sha256files - a combined
SHA256SUMSmanifest - the
install.shhelper
cargo fmt --all
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace