The command for each task, in each harness. Pick what you are working with, then read across: commands you type in your shell or a script and commands you type inside an open session are listed separately. Commands for renaming sessions are on Thread naming and importing from another harness on Migration.
From your shell
Commands you run in a terminal or script, outside a session.
| Task | pichecked at 1.2.0 |
|---|---|
| Set up | |
| Install | Install a package and add it to settings. 1 noteSources: npm:, git:, HTTPS or SSH URLs, or a local path. Packages run extension code; project packages load only after trust. |
| Use | |
| Open the manager | Open a panel to enable or disable package resources and built-in extensions. 1 noteTab switches between global and project scope. |
| List | List installed packages from user and project settings. |
| Change | |
| Update |
Update one or all installed packages, optionally with pi itself. 1 noteA bare pi update updates pi only. Pinned versions and Git refs are not moved. |
| Remove | |
| Remove | |
Inside a session
Slash commands you type into an open session.
| Task | pichecked at 1.2.0 |
|---|---|
| Change | |
| Reload | Reload keybindings, extensions, skills, prompt templates, themes and context files. |
Notes and sources
pi
- Shell MCP commands always use the built-in MCP and do not load extensions. In-session behaviour is documented, not live-probed.
- pi-1.2.0 help observation, live observation, checked 2026-10-14
- pi 1.2.0 documentation, Documentation, checked 2026-10-15