Install ccam
On this page
ccam starts Claude Code for you, so install Claude Code first and make sure claude --version works.
Run this in a terminal on Linux or macOS:
curl -fsSL https://ccam.dev/install.sh | shThe script downloads the release for your system, checks its SHA-256 checksum and puts ccam in ~/.local/bin, where ccam also creates the shortcut commands you choose later, such as ccwork. If that folder is not on your PATH, the script prints the line to add to ~/.bashrc or ~/.zshrc.
On Windows, run this in PowerShell:
irm https://ccam.dev/install.ps1 | iexIt downloads ccam_windows_<arch>.zip, checks its SHA-256 checksum and puts ccam.exe in %USERPROFILE%\.local\bin, the folder where Claude Code's installer puts claude.exe. If that folder is not on your user PATH yet, the script adds it and keeps entries such as %USERPROFILE%\bin as they are. Open a new terminal afterwards.
Supported systems
- Linux on x86-64 and ARM64: Ubuntu, Debian, Fedora, Arch, Alpine and other distributions. The binary is static and has no dependencies.
- macOS on Apple silicon and Intel.
- Windows 10 and 11 on x86-64 and ARM64, in PowerShell, Windows Terminal or Git Bash:
- Shared folders work without Developer Mode.
- Shared files (
settings.json,CLAUDE.md,history.jsonl) need Developer Mode (Settings > System > For developers), because Windows lets only that mode, or an administrator, create links to files; see sharing on Windows. - Without Developer Mode, the first
ccam addcreates thedefaultgroup with MCP servers and extensions only, and says how to add the rest once Developer Mode is on.
- Inside WSL, ccam works as it does on any other Linux system.
Other ways to install
Debian and Ubuntu package. Download ccam_<version>_linux_amd64.deb from the releases page and install it:
sudo apt install ./ccam_*_linux_amd64.debThe package installs /usr/bin/ccam.
From source. With Go 1.26 or newer:
go install github.com/jhyunwoo/ccam/cmd/ccam@latestIf you install a release tag (@latest or @vX.Y.Z), ccam reports that version, and ccam update and the dashboard's update offer work. A build of @main, or of a local checkout with commits after a tag, reports dev, and ccam update refuses it unless you pass --version.
A specific version. Set CCAM_VERSION:
curl -fsSL https://ccam.dev/install.sh | CCAM_VERSION=v0.1.0 sh$env:CCAM_VERSION = 'v0.1.0'; irm https://ccam.dev/install.ps1 | iexShell completion
ccam completion bash > ~/.local/share/bash-completion/completions/ccam
ccam completion zsh > "${fpath[1]}/_ccam"ccam completion powershell >> $PROFILECompletion covers every ccam command and option, including account names.
Claude Code plugin
Install the ccam plugin to get the most out of ccam: the notification and the limit record at a usage limit, /ccam:switch, automatic switching and Claude's use of ccam agent all depend on it. It also teaches Claude Code itself to use ccam: to check which account has room, to start parallel claude -p workers on different accounts with ccam pick, and to explain a missing skill or MCP server with ccam ext. Install it inside Claude Code:
/plugin install ccam --marketplace jhyunwoo/ccamIt adds:
- a skill that suggests commands that log in or move files but never runs them;
- the commands
/ccam:usage,/ccam:extand/ccam:switch; - two hooks (details). One shows a terminal notification when a session stops at a usage limit; on Linux and macOS, with
auto_switchon, ccam then moves the session to another account with room. The other lets/ccam:switch [account]hand the conversation to another account.
The hooks run ccam, so it must be on the PATH Claude Code sees. Install the plugin once: accounts that share extensions and settings.json through a group, as the default group does, all load it. ccam ext shows which accounts load it.
Check the installation
ccam version
ccam doctorccam doctor checks that Claude Code is found and that every account folder, link and login is in order. Continue with the first setup.
Update
ccam update --check
ccam updateccam update --check only tells you whether a newer release exists. ccam update downloads the release for your system, checks its SHA-256 checksum against the release's checksums.txt and then replaces the ccam file in one step. If the checksum does not match, nothing is changed. Shortcuts such as ccwork are links to ccam, so they run the new version right away.
$ ccam update --check
ccam 0.3.0 is available (you have 0.2.0). Run `ccam update`.
$ ccam update
→ downloading https://github.com/jhyunwoo/ccam/releases/download/v0.3.0/ccam_linux_amd64.tar.gz
✓ Updated ccam 0.2.0 → 0.3.0 (/home/me/.local/bin/ccam)
$ ccam update
ccam 0.3.0 is up to date.The dashboard (ccam with no arguments, in a terminal) also checks for a new release each time it opens and, when there is one, offers it: press U and confirm. No other command checks for updates, and ccam never updates without asking. To install a particular release, including an older one, pass --version. ccam --dry-run update shows what would be downloaded and replaced without changing anything.
ccam update --version v0.2.0
ccam --dry-run updateRunning the install script again also updates the copy in ~/.local/bin. If you built ccam with go install from a release tag, you can run ccam update or the same go install command again.
Windows. ccam update downloads the .zip for Windows. A running program cannot be replaced on Windows, so the old binary is renamed to ccam.exe.old, which the next update deletes; while a session is still running from an earlier ccam.exe.old, the name is ccam.exe.old-<time>. Shortcuts that are hard links are renewed right after. Running install.ps1 again works the same way, even while a Claude Code session is still running from the old binary, and prints OK 2 shortcuts now run the new ccam when it renews hard-linked shortcuts.
Debian and Ubuntu package. ccam update does not replace a /usr/bin/ccam that apt installed, and prints these steps instead. Download the new ccam_<version>_linux_amd64.deb from the releases page and install it over the old one:
sudo apt install ./ccam_*_linux_amd64.debUninstall
ccam uninstall removes ccam and everything it made. It first lists what goes, and asks:
ccam --dry-run uninstall
ccam uninstallccam --dry-run uninstall only shows that list and removes nothing. Run without it, ccam uninstall does this:
- Every account is removed as
ccam removedoes. An account in ccam's folders is logged out first and deleted with its folder, its conversation history and settings too. - A
~/.claudefolder that you imported stays where it is for plainclaude. If it is in a group, it gets back a copy of everything it shared. The ccam status line in itssettings.jsongives way to the status line ccam wrapped, if there was one. If it has the ccam plugin, ccam prints the/plugin uninstallcommand to run in Claude Code. - The shortcut commands,
~/.config/ccam,~/.local/share/ccam(with ccam's trash) and~/.local/state/ccamare deleted, then theccamcommand itself.
ccam refuses while an account is running; quit its Claude Code sessions first. A /usr/bin/ccam that apt installed stays; remove it afterwards with sudo apt remove ccam. On Windows a running program cannot delete itself, so ccam uninstall ends by printing the Remove-Item command for ccam.exe.