pi-hokage
v0.1.8
Published
Summon the Pi CLI Hokage wizard (installs @pi-api/cli).
Readme
pi-hokage
The Pi CLI Hokage wizard — summons the full Pi CLI onboarding experience.
This is a lightweight wrapper that installs and runs @pi-api/cli/hokage, the interactive setup wizard for Pi CLI. It handles API key configuration, persona selection, project initialization, codebase learning, git hooks, CI scaffolding, and more.
Installation
Run it directly (no install required):
npx pi-hokage@latestOr install globally:
npm install -g pi-hokage
pi-hokageFlags
-y, --yes— Non-interactive mode (accepts defaults for all prompts)--api-key=<key>— Pi API key (or setPI_API_KEYenv var)--base-url=<url>— Pi API base URL (default:https://piii-black.vercel.app)--persona=<id>— One of:newbie,normal,expert,designer,pm-h, --help— Show help
Examples
# Interactive wizard
npx pi-hokage@latest
# Non-interactive (CI-friendly)
npx pi-hokage@latest --yes --api-key=$PI_API_KEY --persona=expert
# Custom base URL
npx pi-hokage@latest --base-url=http://localhost:3000Full documentation
For the complete Pi CLI reference, see the main @pi-api/cli package:
License
MIT License — Copyright (c) 2026 Chris NGANDIMOUN
