Installing the JJHub CLI
The JJHub CLI (jjhub) is a Bun-compiled binary (TypeScript) that operates in two modes:
- Local mode: Uses the
jjCLI directly for repository operations - Remote mode: Communicates with the JJHub API for cloud operations
Prerequisites
The JJHub CLI requires Jujutsu (jj) to be installed and available on yourPATH.
- macOS:
brew install jj - Linux/Other:
cargo install jj-clior see the jj installation guide.
macOS and Linux
The JJHub CLI provides a unified installation script that automatically detects your operating system and architecture (x86_64 or arm64).Verify Installation
Configuration
The CLI reads configuration from:JJHUB_TOKENenvironment variable (for authentication)~/.config/jjhub/config.toon(for defaults).jjhub/config.toon(repository-level settings)