Skip to content

CLI Reference

Complete reference for all jolt commands and options.

OptionShortDescription
--help-hShow help information
--version-VShow version

Launch the interactive TUI.

Terminal window
jolt

The TUI is the default command and can be configured via the config file. See Configuration for details on themes, refresh rates, and other settings.

Output metrics as JSON for scripting.

Terminal window
jolt pipe [OPTIONS]
OptionShortDefaultDescription
--samples-s0Number of samples (0 = infinite)
--interval-i1000Interval between samples (ms)
--compact-cfalseOne-line JSON output (JSONL)

Examples:

Terminal window
# Single sample
jolt pipe --samples 1
# Continuous at 500ms
jolt pipe --interval 500
# Compact JSONL format
jolt pipe --compact

Print system and battery information for troubleshooting.

Terminal window
jolt debug

Shows:

  • System model and chip
  • macOS version
  • Battery information source
  • Power metrics availability
  • Terminal capabilities

Manage configuration.

Terminal window
jolt config [OPTIONS]
OptionDescription
(none)Show current config
--pathShow config file path
--resetReset to defaults
--editOpen in $EDITOR

Examples:

Terminal window
# Show current config
jolt config
# Show config file path
jolt config --path
# Reset to defaults
jolt config --reset
# Open in editor
jolt config --edit

Manage themes.

Terminal window
jolt theme <SUBCOMMAND>

List available themes.

Terminal window
jolt theme list [OPTIONS]
OptionDescription
--iterm2List importable iTerm2 themes
--search <QUERY>Search themes by name
--variant <VARIANT>Filter by variant: dark, light, all

Validate themes for contrast issues.

Terminal window
jolt theme check [OPTIONS]
OptionDescription
--theme <NAME>Check specific theme
--fixAttempt to auto-fix issues

Import an iTerm2 theme.

Terminal window
jolt theme import <NAME>

Create a new theme from template.

Terminal window
jolt theme create <NAME>

Open themes folder in file manager.

Terminal window
jolt theme open

Opens the themes directory in Finder (macOS) or default file manager (Linux):

  • macOS: ~/Library/Application Support/jolt/themes/
  • Linux: ~/.config/jolt/themes/

Manage background data collection.

Terminal window
jolt daemon <SUBCOMMAND>

Start the background daemon.

Terminal window
jolt daemon start [OPTIONS]
OptionDescription
-f, --foregroundRun in foreground (don’t daemonize)

Stop the running daemon.

Terminal window
jolt daemon stop

Show daemon status.

Terminal window
jolt daemon status

Install daemon to run on login (macOS only).

Terminal window
jolt daemon install [OPTIONS]
OptionDescription
-f, --forceOverwrite existing LaunchAgent

Remove daemon from login items.

Terminal window
jolt daemon uninstall

View application logs.

Terminal window
jolt logs [OPTIONS]
OptionShortDefaultDescription
--lines <LINES>-l50Number of lines to show
--follow-ffalseFollow log output

Examples:

Terminal window
# Show last 50 lines
jolt logs
# Show last 100 lines
jolt logs --lines 100
# Follow logs in real-time
jolt logs --follow

View and manage historical data.

Terminal window
jolt history <SUBCOMMAND>

Show data summary.

Terminal window
jolt history summary [OPTIONS]
OptionDescription
--period <PERIOD>Time period: today, week, month, all

Show top power consumers.

Terminal window
jolt history top [OPTIONS]
OptionDefaultDescription
--limit10Number of results
--periodweekTime period
--sortenergySort by: energy, cpu, time

Export data to JSON.

Terminal window
jolt history export [OPTIONS]
OptionDescription
--output <FILE>Output file (- for stdout)
--period <PERIOD>Time period to export
--include-processesInclude process snapshots

Remove old data.

Terminal window
jolt history prune [OPTIONS]
OptionDescription
--older-than <DAYS>Delete data older than N days
--dry-runShow what would be deleted

Delete all historical data.

Terminal window
jolt history clear [--force]
CodeMeaning
0Success
1General error
2Invalid arguments
3Permission denied
4Daemon not running
5Config error
VariableDescription
JOLT_CONFIGCustom config file path
JOLT_THEMEOverride theme
JOLT_APPEARANCEOverride appearance mode
JOLT_LOG_LEVELLogging level (error, warn, info, debug)
NO_COLORDisable colored output