Skip to content

Installation

Install the package

Install Zwischen with pipx, which installs CLI tools in isolated environments and makes the zwischen command available on your PATH.

pipx install zwischen

If you don't have pipx yet:

brew install pipx
pipx ensurepath
sudo apt install pipx   # Debian/Ubuntu
pipx ensurepath

Other distributions: see the pipx installation guide.

After installing pipx, restart your terminal before continuing.

Previously installed with pip?

If you have an existing pip install of Zwischen, remove it first to avoid shadowed executables:

pip uninstall zwischen
pipx install zwischen
pip install zwischen

If pip is not recognized:

py -m pip install zwischen

Run the setup wizard

zwischen install

The wizard walks you through:

  1. API key - Enter your Zwischen API key (from zwischen.ai). The key is persisted as an OS environment variable - it is not stored in the settings file.
  2. Model selection - Choose which AI model the reviewer should use. See supported models.
  3. Provider API key - Enter the API key for the model's provider (OpenAI, Anthropic, Google, or DeepSeek). Stored the same way - as an OS environment variable, not in the settings file.
  4. Host wiring - The wizard installs hooks into every host it detects, registers the MCP server, and installs the z skill. In Claude Code that skill is the /z slash command; in Codex it is invoked as $z.

When the wizard finishes, Zwischen is ready. Start (or restart) your coding agent and the reviewer will attach automatically.

To change any of these answers later, run zwischen config for the interactive settings editor, or zwischen install --reconfigure to replay the whole setup with your current answers pre-filled.

Using Codex?

zwischen install sets up every host it detects. If you use Codex, see Codex for the launcher and what differs from Claude Code.

Install options

Command What it does
zwischen install Full interactive wizard
zwischen install --dry-run Preview all changes without writing anything
zwischen install --print Print the hook and MCP config for manual application
zwischen install --update Re-wire hooks, MCP, and skills without running the wizard (use after updating)
zwischen install --reconfigure Replay the full setup with your current answers pre-filled
zwischen install --host <host> Target one host: claude or codex. Defaults to auto (every detected host)

What gets installed

In Claude Code, the installer modifies two config locations. (For what it writes into Codex, see Codex.)

~/.claude/settings.json - Adds hook entries for all nine Claude Code hook events (SessionStart, SubagentStart, SubagentStop, PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, MessageDisplay, Stop) and registers the Zwischen MCP server.

~/.claude/skills/z/ - Installs the /z slash command skill that provides in-session interaction with the reviewer.

~/.zwischen/settings.yaml - Created if it doesn't exist. Stores your model selection and all reviewer configuration. API keys are not stored here - they live as OS environment variables managed by zwischen auth. You can edit this file directly at any time - settings are re-read on every session start.

No background processes

The install wizard does not start any background services. The Zwischen daemon starts automatically when you launch a Claude Code session and stops when the session ends.

Verifying the installation

After installing, start Claude Code. You should see a message at the beginning of your session indicating that Frank (the reviewer) has attached. You can also run:

/z session-id

If this returns a session ID, Zwischen is active. See First Session for a walkthrough.