pip install tokenwatch
tokenwatch
Your browser opens automatically at http://localhost:7842.
macOS:
bash install_autostart.sh
Linux:
# Create the service file
mkdir -p ~/.config/systemd/user
cat > ~/.config/systemd/user/tokenwatch.service << EOF
[Unit]
Description=TokenWatch
[Service]
ExecStart=/usr/local/bin/tokenwatch --no-browser
Restart=always
[Install]
WantedBy=default.target
EOF
# Enable and start
systemctl --user enable tokenwatch
systemctl --user start tokenwatch
Windows: Add tokenwatch --no-browser to your startup folder. Full auto-start support coming soon.
tokenwatch # start dashboard
tokenwatch status # print today's cost in terminal
tokenwatch export # export sessions to CSV (Pro)
tokenwatch export --format json # export as JSON (Pro)
tokenwatch seed # generate demo data
tokenwatch seed --clean # remove demo data
tokenwatch config # show current config
tokenwatch license --key tw_... # activate Pro license