Give pyre read access to temperature sensors
Real CPU/GPU die temperatures on macOS only come from powermetrics,
which requires root. Without this, pyre still runs — it just shows thermal state without a
live °C/°F reading. This grants passwordless sudo to that one binary only, nothing else.
RUN IN TERMINAL
# grants NOPASSWD access to powermetrics only, for your user
echo "$(whoami) ALL=(root) NOPASSWD: /usr/bin/powermetrics" | \
sudo tee /etc/sudoers.d/pyre-powermetrics > /dev/null
sudo chmod 440 /etc/sudoers.d/pyre-powermetrics
To undo this later: sudo rm /etc/sudoers.d/pyre-powermetrics
Pick a default theme
Applied the first time pyre opens. You can always change it live with the c key inside the dashboard.
Set behavior for live mode
These map straight to pyre's CLI flags. You'll get the exact command to launch with on the next screen.
Set up the P2P server
Configure the server, then connect from another machine using the command shown below.
SERVER SETTINGS
CONNECT FROM CLIENT
On the client machine, use this command to connect to the server.
pyre p2p connect \ --p2p-host <server-ip> \ --p2p-port 9876 \ --p2p-password mysecret
Your setup, ready to launch
Copy the commands below to start pyre with everything you just configured.
LIVE DASHBOARD
pyre live --interval 2 --export-dir ./pyre-exports
Theme (default) is applied via --theme on launch — change it anytime with c.
P2P SERVER
pyre p2p server --p2p-host 0.0.0.0 --p2p-port 9876 --p2p-password mysecret
Clients connect with: pyre p2p connect --p2p-host <server-ip> --p2p-port 9876 --p2p-password mysecret
OPTIONAL: SAVE AS SHELL ALIASES
echo 'alias pyre-live="pyre live --interval 2 --export-dir ./pyre-exports"' >> ~/.zshrc echo 'alias pyre-p2p="pyre p2p server --p2p-host 0.0.0.0 --p2p-port 9876 --p2p-password mysecret"' >> ~/.zshrc