Install

Three minutes from npm to pi flow.

Pick the path that fits your situation. Each lands you on a working, governed Pi CLI in under five minutes.

Pick your persona

Solo · Team · Enterprise

Same CLI, different first-run rituals.

Solo

One developer. Ship faster without adopting a platform.

Terminal
$ npm i -g pi-hokage|
$ pi auth-login|
$ pi flow setup|
✓ ready · try pi "…"

Team

Shared system-style, generated CI, pre-commit hooks.

Terminal
$ npm i -g pi-hokage|
$ pi init --with-hooks --ci github|
$ pi learn && pi sync|
✓ hooks + CI wired

Enterprise

Self-hosted Pi API, SSO, audit logs, private templates.

Terminal
$ PI_API_URL=https://pi.acme.internal pi init|
→ env-driven, zero app-code changes
→ contact us for SSO + audit setup
✓ ready
e + 1 = 0

Get started in minutes

From installation to shipping code - the fastest path from idea to implementation.

1

Install Pi CLI

Install the Pi CLI globally using npm

npm install -g @pi-api/cli
2

Authenticate

Open browser authentication or use your API key

pi auth login
3

Start Building

Use natural language to generate complete implementations

pi "Create a Next.js app with authentication"
Terminal Example
$ pi "Add Stripe billing to my React app"
✓ Analyzing codebase context...
✓ Installing stripe and dependencies...
✓ Creating payment components...
✓ Setting up webhook handlers...
✓ Configuring subscription management...
✓ Stripe billing integrated successfully
$ pi "Refactor this component to use TypeScript"
✓ Scanning component dependencies...
✓ Generating TypeScript interfaces...
✓ Converting prop types...
✓ Updating imports and exports...
✓ Component migrated to TypeScript
$ pi "Deploy this to Vercel with environment setup"
✓ Checking deployment requirements...
✓ Configuring build settings...
✓ Setting up environment variables...
✓ Initializing Vercel project...
✓ Deployed to https://your-app.vercel.app

Need help getting started? Check our documentation or join our community.