Who it is forA Nix user who wants reproducible tools and no global npm packages.
The problemGlobal npm installs drift and do not pin transitive dependencies.
The outcomePi running from a pinned Nix build on Linux or macOS, ARM64 or x86-64.
What you need first
- Node.js 22.19 or newer (the installers can install it)
- A subscription or API key for a built-in AI provider, connected with /login
- Optional: Nix, Docker or a micro-VM if you want sandboxing
Steps
- Run
nix run github:earendil-works/pi/stable - To keep it, use
nix profile add github:earendil-works/pi/stable - Update with
nix profile upgrade pi - Start Pi in your project and run /login
Prompt for your agent
Run earendil-works/pi with Nix from the stable flake on this machine, add it to my Nix profile if it works, and connect <provider> with /login.
Caveat. This card is written from the earendil-works/pi README, not from a test run by Deduped. Before you start, make sure you have Node.js 22.19 or newer. Check the repo for newer instructions before you rely on these steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for earendil-works/pi and "Try Pi with Nix without a global install"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer