Installing the JJHub CLI
The JJHub CLI (jjhub) is a Rust binary that operates in two modes:
- Local mode: Uses jj-lib directly for offline operations
- Remote mode: Communicates with the JJHub API for cloud operations
macOS and Linux
The JJHub CLI provides a unified installation script that automatically detects your operating system and architecture (x86_64 or arm64).From Source
Requires Rust 1.82+:Verify Installation
Configuration
The CLI reads configuration from:JJHUB_TOKENenvironment variable (for authentication)~/.config/jjhub/config.toml(for defaults).jjhub/config.toml(repository-level settings)