packages/coding-agent/docs/index.md
Pi is a minimal terminal coding harness. It is designed to stay small at the core while being extended through TypeScript extensions, skills, prompt templates, themes, and pi packages.
Install Pi with npm:
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
--ignore-scripts disables dependency lifecycle scripts during install. Pi does not require install scripts for normal npm installs.
On Linux or macOS, you can also use the installer:
curl -fsSL https://pi.dev/install.sh | sh
To uninstall pi itself, use npm for curl and npm installs:
npm uninstall -g @earendil-works/pi-coding-agent
For pnpm, Yarn, or Bun installs, use the matching global remove command: pnpm remove -g @earendil-works/pi-coding-agent, yarn global remove @earendil-works/pi-coding-agent, or bun uninstall -g @earendil-works/pi-coding-agent.
Then run it in a project directory:
pi
Authenticate with /login for subscription providers, or set an API key such as ANTHROPIC_API_KEY before starting pi.
For the full first-run flow, see Quickstart.