Skip to content

Installation

Requirements

Install Bun

Terminal window
curl -fsSL https://bun.sh/install | bash

Installation

Clone the repository and install dependencies:

Terminal window
git clone https://github.com/dungle-scrubs/pi-code.git
cd pi-code
bun install
bun run build

Verify Installation

Terminal window
bun run cli --help

You should see the CLI help output with available commands.

Install Extensions

Terminal window
# Interactive — opens a multi-select UI
bun run cli install
# Install specific extensions
bun run cli install hooks git-status tasks
# Install to project-local .pi/extensions/
bun run cli install -l hooks
# List what's installed
bun run cli list # global
bun run cli list -l # project-local

Global extensions install to ~/.pi/agent/extensions/ (pi’s native directory). Project-local extensions install to .pi/extensions/ in your project. No wrapper scripts or environment variables needed — just run pi.