Desktop app & CLI

The desktop app is the easiest way in, on macOS, Windows and Linux. The zaem command-line tool does everything the app does, also on servers and headless machines.

Desktop app (macOS, Windows, Linux)

  1. Install it from the download page:
    • macOS: open the .dmg (Apple Silicon; Intel) and drag Zäm into Applications.
    • Windows: run the installer (or the .msi for managed installs). The installers are not code-signed yet, so Windows may say it protected your PC: choose More info → Run anyway.
    • Linux: install the .deb or .rpm, or make the AppImage executable (chmod +x) and run it.
  2. Start it, enter your team's server address and sign in in your browser.
  3. Settings → Set up Claude Code installs the plugin, status line and VS Code wrapper.
  4. Projects → Link a folder for each repository you use with Claude Code.

The app keeps syncing from the menu bar (the system tray on Windows and Linux) when its window is closed, and can start at login. On macOS, Settings → Show in Dock turns off its Dock icon, so it lives in the menu bar only. It bundles the zaem tool, so the Claude Code hooks work without a separate install.

Command-line tool

Download the archive for your system from the download page, unpack it and put zaem on your PATH:

tar -xzf zaem-linux-x64.tar.gz && sudo install zaem /usr/local/bin/

On macOS, a binary downloaded with a browser is quarantined. Clear it once with xattr -d com.apple.quarantine /usr/local/bin/zaem, or download with curl.

In a container or on a server

No browser is needed: zaem login prints a link and a code, which you approve from any browser, on your laptop or phone. Without the desktop app, keep zaem daemon running. A container has no system keychain, so set ZAEM_KEYSTORE=file to keep Zäm's keys in private files, and put ~/.zaem on a volume so the container stays one approved device:

docker run -it -e ZAEM_KEYSTORE=file -v zaem-home:/root/.zaem -v claude-home:/root/.claude <image>
zaem login --server https://zaem.example.com   # approve the printed link on your laptop
zaem install && cd /work/repo && zaem link
zaem daemon &                                   # keep it running

Commands

CommandWhat it does
zaem login --server <url>Sign this computer in (device sign-in in the browser).
zaem logoutSign out and revoke this device.
zaem install [--statusline] [--vscode]Install the Claude Code plugin, the status line and the VS Code wrapper.
zaem daemonRun the sync service (the desktop app runs it for you).
zaem statusShow what the local sync service is syncing.
zaem link [--new <name>]Link the current repository to a project (new, or the one in .zaem.toml).
zaem import [--days N] [--dry-run]Sync the folder's Claude sessions from before it was linked.
zaem lsList sessions with their lock state, forks and conflict copies.
zaem resume <id>Continue a session on this computer; asks for a handoff if someone drives it.
zaem handoff <id>Ask the driver to hand the session over.
zaem watch <id>Follow a session read-only, live.
zaem fork <id>Start a new session from the latest state of another, even while it is in use.
zaem rm <id>Delete a session from the server for everyone (its key is destroyed).
zaem access [grant|deny] <device>Approve or decline a teammate's device asking for a project key.
zaem workspace ls|apply|save <id>Code checkpoints of a session: list, restore, save now.

Per-repository settings

zaem link writes .zaem.toml at the repository root. Commit it. Besides the project id it can hold the secret policy for synced sessions and turn code checkpoints off:

.zaem.toml
project_id = "…"
# secrets = "warn"    # default: sync as written, report secrets found
# secrets = "redact"  # replace secrets in the synced copy; local files keep them
# secrets = "off"
# workspace = false     # no code checkpoints for this repository

Locks, handoffs and conflicts

  • One Claude window drives a session at a time. Another window on the same or another computer can read it, but prompts are blocked with a message saying what to do.
  • Asking for a handoff moves the session once the driver's current turn ends; the driver can keep it instead.
  • If a computer was offline and kept writing after someone else took over, its lines are never lost: they are saved as a conflict copy you can continue with zaem fork.