mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
docs: recommend scriptless npm installs
This commit is contained in:
parent
a3ebcd2322
commit
5b7c5d2157
4 changed files with 18 additions and 12 deletions
|
|
@ -68,13 +68,15 @@ I regularly publish my own `pi-mono` work sessions here:
|
|||
## Quick Start
|
||||
|
||||
```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
|
||||
npm install -g @earendil-works/pi-coding-agent
|
||||
curl -fsSL https://pi.dev/install.sh | sh
|
||||
```
|
||||
|
||||
Authenticate with an API key:
|
||||
|
|
|
|||
|
|
@ -4,18 +4,20 @@ Pi is a minimal terminal coding harness. It is designed to stay small at the cor
|
|||
|
||||
## 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
|
||||
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:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
|
|
@ -7,9 +7,11 @@ This page gets you from install to a useful first pi session.
|
|||
Pi is distributed as an npm package:
|
||||
|
||||
```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
|
||||
|
||||
Use the package manager that installed pi. The curl installer uses npm globally, so curl and npm installs are removed with npm:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ pkg update && pkg upgrade
|
|||
pkg install nodejs termux-api git
|
||||
|
||||
# Install pi
|
||||
npm install -g @earendil-works/pi-coding-agent
|
||||
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
|
||||
|
||||
# Create config directory
|
||||
mkdir -p ~/.pi/agent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue