docs: recommend scriptless npm installs

This commit is contained in:
Mario Zechner
2026-05-20 14:47:18 +02:00
parent a3ebcd2322
commit 5b7c5d2157
4 changed files with 18 additions and 12 deletions

View File

@@ -68,13 +68,15 @@ I regularly publish my own `pi-mono` work sessions here:
## Quick Start ## Quick Start
```bash ```bash
curl -fsSL https://pi.dev/install.sh | sh npm install -g --ignore-scripts @earendil-works/pi-coding-agent
``` ```
Or with npm: `--ignore-scripts` disables dependency lifecycle scripts during install. Pi does not require install scripts for normal npm installs.
Installer alternative:
```bash ```bash
npm install -g @earendil-works/pi-coding-agent curl -fsSL https://pi.dev/install.sh | sh
``` ```
Authenticate with an API key: Authenticate with an API key:

View File

@@ -4,18 +4,20 @@ Pi is a minimal terminal coding harness. It is designed to stay small at the cor
## Quick start ## Quick start
On linux or mac you can install Pi with curl: Install Pi with npm:
```bash
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
```
`--ignore-scripts` disables dependency lifecycle scripts during install. Pi does not require install scripts for normal npm installs.
On Linux or macOS, you can also use the installer:
```bash ```bash
curl -fsSL https://pi.dev/install.sh | sh curl -fsSL https://pi.dev/install.sh | sh
``` ```
Or alternatively with npm:
```bash
npm install -g @earendil-works/pi-coding-agent
```
To uninstall pi itself, use npm for curl and npm installs: To uninstall pi itself, use npm for curl and npm installs:
```bash ```bash

View File

@@ -7,9 +7,11 @@ This page gets you from install to a useful first pi session.
Pi is distributed as an npm package: Pi is distributed as an npm package:
```bash ```bash
npm install -g @earendil-works/pi-coding-agent npm install -g --ignore-scripts @earendil-works/pi-coding-agent
``` ```
`--ignore-scripts` disables dependency lifecycle scripts during install. Pi does not require install scripts for normal npm installs.
### Uninstall ### Uninstall
Use the package manager that installed pi. The curl installer uses npm globally, so curl and npm installs are removed with npm: Use the package manager that installed pi. The curl installer uses npm globally, so curl and npm installs are removed with npm:

View File

@@ -17,7 +17,7 @@ pkg update && pkg upgrade
pkg install nodejs termux-api git pkg install nodejs termux-api git
# Install pi # Install pi
npm install -g @earendil-works/pi-coding-agent npm install -g --ignore-scripts @earendil-works/pi-coding-agent
# Create config directory # Create config directory
mkdir -p ~/.pi/agent mkdir -p ~/.pi/agent