{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "earendil-works-pi--install-pi-and-run-it-in-a-project",
 "repo": "earendil-works/pi",
 "repo_url": "https://github.com/earendil-works/pi",
 "repo_slug": "earendil-works-pi",
 "title": "Install the Pi coding agent and run it in your project",
 "page_title": "How to install the Pi coding agent and run it in your project with Pi",
 "summary": "Install Pi with the official script, start it in a folder and connect a provider with /login.",
 "who": "A developer trying a lightweight terminal coding agent.",
 "problem": "Large agent products come with features and opinions you may not want.",
 "outcome": "Pi running in your project, signed in to your provider and ready for a task.",
 "steps": [
  "Install with `curl -fsSL https://pi.dev/install.sh | sh` (or the PowerShell installer on Windows)",
  "Or use npm: `npm install -g --ignore-scripts @earendil-works/pi-coding-agent`",
  "cd into your project and run `pi`",
  "Run /login inside Pi to connect a subscription or API key, then give it a task",
  "Update later with `pi update`"
 ],
 "agent_prompt": "Install earendil-works/pi, start it in <project>, connect <provider> with /login, and ask it to <task>. Show me every file change before it is saved.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "no-permission-system",
   "notice": "The README says Pi has no built-in permission system and runs with your user's permissions; containerize it for stronger boundaries."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/earendil-works-pi/install-pi-and-run-it-in-a-project/",
 "md": "https://dedupedai.com/use-cases/earendil-works-pi/install-pi-and-run-it-in-a-project/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/earendil-works-pi--install-pi-and-run-it-in-a-project.json",
 "api_version": "v1"
}
