piagent_
← ~/map

$ cat ~/map/pi-coding-agent-npm.md

@earendil-works/pi-coding-agent

The official npm package — install the Pi coding agent CLI with one command.

officialtools✓ Oct 16

Facts

repository
npmjs.com/package/@earendil-works/pi-coding-agent ↗
GitHub Stars
—
Forks
—
license
—
npm / mo
16.5M
last push
—

install

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

## TL;DR

The official npm package for pi — one documented global install provides the pi binary, a coding agent CLI with read, bash, edit, and write tools plus session management.

## Key points

## FAQ

Q Why the --ignore-scripts flag?

It disables dependency lifecycle scripts during install. Pi works normally without them, so the flag avoids running third-party postinstall scripts you did not ask for.

Q How do I update or uninstall?

Re-run the global npm install (or your package manager's global update) to move to a newer version; uninstall with npm uninstall -g @earendil-works/pi-coding-agent — pnpm, Yarn, and Bun users should use their matching global remove command.

## References

## Related entries

## Guides

Last updated: Aug 31, 2026