Skip to main content
Pi is a terminal coding agent distributed as a Node.js package. This example pins the tested package version and gives it a copied workspace inside the microVM.

Run Pi

1

Start Pi

The tested install downloads 188 packages and takes about a minute on a warm Node image cache. Configure a provider from the TUI when prompted.
2

Start another session

After leaving Pi, return to the same sandbox and workspace with:
3

Verify the installation

Exit Pi and run:
The pinned example prints 0.73.1.
4

Export changes

Create a patch inside the sandbox:
Copy the patch to the host:
Check that it applies cleanly before applying it:
5

Clean up

Reference