--- id: known-bugs/bootstrap-ts-runs-npm-install-g-for-pi-on title: "`bootstrap.ts` runs `npm install -g` for Pi on every boot" theme: known-bugs status: open created: 2026-08-20 date_source: assumed order: 2 --- **`bootstrap.ts` runs `npm install -g` for Pi on every boot.** `findPiPackageDir` checks stale paths and an outdated package name, so `installPi` always fires and floods the logs with `EEXIST` noise. Should detect `@earendil-works/pi-coding-agent` at the real npm prefix.