| Crates.io | jolt-tui |
| lib.rs | jolt-tui |
| version | 1.1.2 |
| created_at | 2026-01-11 20:42:20.119431+00 |
| updated_at | 2026-01-23 19:19:45.704012+00 |
| description | A beautiful TUI for monitoring battery and energy usage |
| homepage | |
| repository | https://github.com/jordond/jolt |
| max_upload_size | |
| id | 2036412 |
| size | 592,756 |
A beautiful terminal-based battery and energy monitor for macOS and Linux.
Built for laptop users who want to understand what's draining their battery. Provides real-time insights into power consumption, process energy usage, and battery health - all in a clean, themeable TUI.
Note: On Linux, see Linux setup guide for required permissions.
curl -fsSL https://getjolt.sh/install.sh | bash
Automatically detects your platform (macOS or Linux) and architecture.
git clone https://github.com/jordond/jolt.git
cd jolt/cli
cargo build --release
./target/release/jolt
cargo install jolt-tui
brew install jordond/tap/jolt
# Run with default settings (1 second refresh)
jolt
# Faster refresh rate (500ms)
jolt --refresh-ms 500
# Force dark theme
jolt --theme dark
# Force light theme
jolt --theme light
# Show help
jolt --help
| Option | Default | Description |
|---|---|---|
-r, --refresh-ms |
1000 | Refresh interval in milliseconds |
-t, --theme |
auto | Theme mode: auto, dark, or light |
| Key | Action |
|---|---|
Up / k |
Move selection up |
Down / j |
Move selection down |
Enter / Space |
Expand/collapse process group |
K |
Kill selected process |
g |
Toggle graph metric (battery/power) |
m |
Toggle merge mode (group similar) |
t |
Open theme picker |
a |
Cycle appearance (Auto/Dark/Light) |
o |
Cycle sort column |
O |
Toggle sort direction |
s |
Open settings |
h |
View history |
PgUp / PgDn |
Page up/down |
Home / End |
Jump to start/end |
? |
Show help dialog |
q / Esc |
Quit |
Install Rust via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Ensure you have Xcode Command Line Tools:
xcode-select --install
Install Rust via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install build dependencies:
Ubuntu/Debian:
sudo apt-get install build-essential pkg-config
Fedora:
sudo dnf install gcc pkg-config
Arch:
sudo pacman -S base-devel
# From the cli directory
cd cli
# Debug build (faster compilation, slower runtime)
cargo build
./target/debug/jolt
# Release build (slower compilation, optimized runtime)
cargo build --release
./target/release/jolt
# Run in development mode
cargo run
# Run with arguments
cargo run -- --refresh-ms 500 --theme dark
# Check for errors without building
cargo check
# Run with warnings
cargo clippy
jolt collects system metrics using platform-native APIs:
pmset -g batt and ioreg -r -c AppleSmartBatterydefaults read -g AppleInterfaceStyle/sys/class/power_supply/BAT*//sys/class/powercap/intel-rapl/MIT