Installation
Single platform binary. Runtime dependency: Pi ≥ 0.99.0. Current release line: 0.0.8.
macOS / Linux
Detects platform, installs to ~/.local/bin, and creates a pi-grok alias symlink.
One-line install
curl -fsSL https://github.com/Dwsy/grok-pi/releases/latest/download/install.sh | shOverride install dir with GROK_PI_INSTALL_DIR.
Windows
PowerShell install
irm https://github.com/Dwsy/grok-pi/releases/latest/download/install.ps1 | iexPrerequisites
Install Pi
npm install --global @earendil-works/pi-coding-agentNode.js ≥ 22.19.0 recommended for Pi package installs. grok-pi spawns pi (override with --pi-bin / PI_BIN).
First run
New session
cd your-project && grok-piContinue last session
grok-pi --continueResume by partial UUID
grok-pi --session 019f88cComing from stock Grok or interactive Pi? See Migration.
Verify
Check version
grok-pi --versionExpect grok-pi 0.0.8 or newer.
Updating
Check
grok-pi update --checkInstall latest
grok-pi updateBackground checks try GitHub Releases, then the official scoped npm metadata, then the JSP proxy. Disable with GROK_PI_NO_AUTO_UPDATE=1.
When an extension crashes startup
grok-pi self-heals: binary-search the extension list, print the culprit, relaunch without it. Manual escape:
No extensions
grok-pi -neBuild from source
Rust 1.92.0 (see rust-toolchain.toml), Node.js 22.19.0+, npm, system Pi.
Build
./build.shRun locally
PI_BIN=pi ./run-local.sh /path/to/project