🔥 pyre — setup
pyre setup
warming up sensors
01 · sensor
02 · appearance
03 · behavior
04 · p2p server
05 · review
why this step exists

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

I've run this command
Optional — you can always come back and run it later.
visuals

Pick a default theme

Applied the first time pyre opens. You can always change it live with the c key inside the dashboard.

default
dracula
cyberpunk
monochrome
nord
gruvbox
defaults

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.

Start logging automatically
Begin writing a continuous CSV log the moment live mode starts.
Detailed sensors by default
Show the full per-sensor thermal breakdown instead of the summary state.
p2p server

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
Both machines must be on the same local network (same Wi-Fi / subnet). Never expose this server to the public internet.
all set

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

CHECKLIST

Sensor access command run
Theme selected: default
Refresh interval: 2s
Export directory: ./pyre-exports
P2P password set