Skip to main content

Installation

Works with any existing project — no scaffolding required.

One-Command Installation

curl -fsSL https://raw.githubusercontent.com/maxritter/pilot-shell/main/install.sh | bash

Run from any directory — it installs globally to ~/.pilot/ and ~/.claude/. After installation, cd into any project and run pilot or ccp to start.

What the Installer Does

7 steps with progress tracking and rollback on failure:

StepTitleDescription
1PrerequisitesChecks/installs Homebrew, Node.js, Python 3.12+, uv, git, jq
2Claude filesSets up ~/.claude/ plugin — rules, commands, hooks, MCP servers
3Config filesCreates .nvmrc and project config
4DependenciesInstalls Probe, RTK, CodeGraph, context-mode (better-sqlite3), Chrome DevTools MCP, playwright-cli, agent-browser, language servers
5Shell integrationAuto-configures bash, fish, and zsh with the pilot alias
6VS Code extensionsInstalls recommended extensions for your language stack
7FinalizeSuccess message with next steps

Browser Automation

For the best browser automation and E2E testing experience, install the Claude Code Chrome extension. It provides richer visual context and direct access to your existing browser sessions.

Pilot uses a 4-tier browser tool selection: Chrome extension (preferred) → Chrome DevTools MCP (enterprise fallback via CDP — Lighthouse, performance tracing, device emulation) → playwright-cli (thorough E2E with persistent sessions, tracing, network mocking) → agent-browser (lightweight, fast startup). All four are installed automatically. In environments where the Chrome extension can't be installed (enterprise restrictions, dev containers), Pilot falls back to Chrome DevTools MCP first, then to CLI tools.

Codex Plugin (Included)

The Codex plugin is installed automatically by the Pilot installer. To activate it:

  1. Run /codex:setup in any Pilot session to authenticate with your OpenAI account
  2. Enable the Codex reviewers in Console Settings → Reviewers

When enabled, Codex provides an independent adversarial review during /spec planning and verification phases. A ChatGPT Plus subscription ($20/mo) covers the Codex API usage needed for code reviews.

Dev Container

Pilot Shell works inside Dev Containers. Copy the .devcontainer folder from the Pilot Shell repository into your project, adapt it to your needs (base image, extensions, dependencies), and run the installer inside the container. The installer auto-detects the container environment and skips system-level dependencies like Homebrew.

For tighter isolation when working with untrusted code, layer Claude Code's /sandbox on top — bubblewrap, socat, iptables, and ipset are pre-installed in the Dockerfile so it works out of the box on Linux.

Further reading

  • Claude Code · Development containers — Anthropic's reference container, persistent volumes, organization policy, network egress, the --dangerously-skip-permissions flag.
  • Claude Code · Sandboxing — Seatbelt (macOS) and bubblewrap (Linux/WSL2), /sandbox modes, allowedDomains, filesystem allow/deny rules, security limitations.

Install Specific Version

export VERSION=8.4.0
curl -fsSL https://raw.githubusercontent.com/maxritter/pilot-shell/main/install.sh | bash

See releases for all available versions. Useful when a specific version is known stable.

Uninstall

curl -fsSL https://raw.githubusercontent.com/maxritter/pilot-shell/main/uninstall.sh | bash

Removes binary, plugin files, managed commands/rules, settings, and shell aliases. Your project's custom .claude/ files are preserved.