macos install

This commit is contained in:
Harivansh Rathi 2026-03-06 13:42:09 -08:00
parent 0c31586efa
commit 8ee69fd0bf
2 changed files with 102 additions and 12 deletions

View file

@ -54,7 +54,7 @@ This installer:
- writes `~/.local/bin/pi` launcher,
- populates `~/.pi/agent/settings.json` with package list,
- installs packages (if `npm` is available),
- and can install a user systemd service for `pi daemon` so it stays alive.
- and can install a user service for `pi daemon` so it stays alive (`systemd` on Linux, `launchd` on macOS).
Preinstalled package sources are:
@ -127,6 +127,8 @@ systemctl --user daemon-reload
systemctl --user enable --now pi
```
On macOS, `public-install.sh --daemon --start` now provisions a per-user `launchd` agent automatically.
Optional:
```bash