Tools and commands for building, maintaining, and updating Pi extensions.
2026-02-02-pi-extension-dev-demo-faster.mp4
pi install npm:@aliou/pi-dev-kitOr from git:
pi install git:github.com/aliou/pi-dev-kitFormerly @aliou/pi-extension-dev. This package continues from the same release line under a new name.
Update Pi extensions to a target version. Without an argument, checks npm for the latest version and lets you choose between latest and installed. With a version argument, targets that version directly.
Runs a guided workflow: detects the package manager, compares versions, reads changelogs and docs, analyzes source files for breaking changes, presents an update plan, and applies changes after confirmation.
Detects the package manager used in the current project. Checks the packageManager field in package.json first, then falls back to lockfile detection (pnpm-lock.yaml, yarn.lock, package-lock.json, bun.lockb). Walks up from the working directory to the git root.
Returns the package manager name, version (if declared), lockfile path, and install/run commands.
Returns the version of the currently running Pi instance.
Lists all Pi documentation files from the Pi installation: README.md, individual files in docs/, and the examples/ directory path.
Parses the Pi changelog and returns entries for a specific version (or the latest). When the requested version is newer than the installed Pi, fetches the changelog from GitHub.
Compatible with Pi 0.50.x and 0.51.0+. Tools that need the extension context use a runtime shim to handle the execute signature difference between versions.