clihome
v0.3.0
Published
List, inspect, create, and sync the config homes of AI coding CLIs (Claude Code, Codex, …) — one home per account.
Maintainers
Readme
clihome
List, inspect, create, and sync the config homes of AI coding CLIs —
Claude Code, Codex, … (~/.claude*, ~/.codex*), one home per account.
Install
npm install -g clihomeA single package with prebuilt native binaries for every platform (macOS · Linux · Windows, arm64/x64) — a tiny launcher runs the right one. No Go toolchain required.
Then:
clihome # interactive table of every home, across tools
clihome list # all ~/.claude*, ~/.codex*, … homes
clihome info claude2 # account + config details for one home
clihome new [tool] # create the next free ~/.<tool><n>
clihome sync --from claude2 --to claude --status --diffWhy
Running more than one account — or more than one tool — means juggling parallel
config homes (CLAUDE_CONFIG_DIR=~/.claude2 claude, CODEX_HOME=~/.codex2 codex).
They drift: your instructions, settings, skills, rules and memory end up
different in each. clihome lists every home (grouped by tool), shows whose
account each one is, and mirrors your setup from one onto another of the same
tool — safely, with a diff preview and backups.
Commands
| Command | What it does |
|---|---|
| clihome | Interactive homes table — pick a home to sync, view, or delete; or add a new one. |
| clihome list (ls) | Every ~/.<tool>* home with tool, account, model, last-active. |
| clihome info [name] | Account + config details for a home (provider-specific). |
| clihome new [tool] | Scaffold the next unused ~/.<tool><n>, ready for a fresh login. |
| clihome aliases | Print shell aliases so each home launches as claude2, codex2, … |
| clihome install | Write those aliases into ~/.zshrc (idempotent, backed up). |
| clihome sync | Mirror one home onto another of the same tool. |
Other install methods
# from source (requires Go ≥ 1.24)
git clone https://github.com/Supavasinan/clihome && cd clihome
go build -o clihome ./cmd/clihomeFull docs, sync semantics, and safety guarantees: https://github.com/Supavasinan/clihome
License
MIT © clihome contributors
