Installation
jolt is available for macOS and Linux through multiple installation methods.
Requirements
Section titled “Requirements”- macOS 11.0 (Big Sur) or later
- Apple Silicon (M1/M2/M3/M4) or Intel Mac
- Terminal emulator with 256-color support
- Linux kernel 3.13+ (for RAPL power metrics)
- Laptop with battery
- Intel or AMD CPU
- Terminal emulator with 256-color support
Install Script (Recommended)
Section titled “Install Script (Recommended)”The easiest way to install jolt on any platform:
curl -fsSL https://getjolt.sh/install.sh | bashThis script automatically:
- Detects your OS (macOS or Linux) and architecture
- Downloads the correct binary for your platform
- Verifies checksums
- Installs to
~/.local/bin
Homebrew (Coming Soon)
Section titled “Homebrew (Coming Soon)”Homebrew support is planned but not yet available:
# Future releasebrew install jordond/tap/joltIf you have Rust installed (works on both macOS and Linux):
cargo install jolt-tuiFrom Source
Section titled “From Source”For the latest development version:
git clone https://github.com/jordond/jolt.gitcd joltcargo build --releaseThe binary will be at ./target/release/jolt. You can copy it to your PATH:
macOS/Linux:
cp ./target/release/jolt /usr/local/bin/# orcp ./target/release/jolt ~/.local/bin/See cli/README.md for platform-specific build dependencies.
Verify Installation
Section titled “Verify Installation”After installing, verify jolt is working:
jolt --versionThen launch the TUI:
joltLinux Setup
Section titled “Linux Setup”On Linux, you’ll need to grant permissions for power metrics. See the Linux Permissions section below or the Troubleshooting page.
Linux Permissions
Section titled “Linux Permissions”Power consumption metrics on Linux require read access to RAPL interfaces. Choose one option:
Option 1: Udev Rule (Recommended)
Section titled “Option 1: Udev Rule (Recommended)”Create a persistent rule to make RAPL readable:
sudo tee /etc/udev/rules.d/99-rapl.rules << 'EOF'SUBSYSTEM=="powercap", ACTION=="add", RUN+="/bin/sh -c 'chmod o+r /sys/class/powercap/intel-rapl/*/energy_uj /sys/class/powercap/intel-rapl/*/*/energy_uj 2>/dev/null || true'"EOF
sudo udevadm control --reload-rulessudo udevadm triggerOption 2: Manual Permissions (Temporary)
Section titled “Option 2: Manual Permissions (Temporary)”Set permissions manually (resets on reboot):
sudo chmod o+r /sys/class/powercap/intel-rapl/*/energy_ujsudo chmod o+r /sys/class/powercap/intel-rapl/*/*/energy_ujVerify Setup
Section titled “Verify Setup”Check if you can read power metrics:
cat /sys/class/powercap/intel-rapl/intel-rapl:0/energy_ujIf successful, you’ll see a number. If you get “Permission denied”, try the steps above again.
For detailed Linux setup information, see docs/linux-setup.md.
Next Steps
Section titled “Next Steps”Continue to Quick Start for a 5-minute tour of jolt’s features.