@pinegrovedev/cli
v0.1.6
Published
Install and provision the [Pinegrove](https://pinegrove.dev) daemon on any macOS or Linux machine.
Readme
@pinegrovedev/cli
Install and provision the Pinegrove daemon on any macOS or Linux machine.
Quick Start
npx @pinegrovedev/cliThis runs the full interactive setup:
- Downloads and installs the latest daemon binary
- Registers a system service (launchd on macOS, systemd on Linux)
- Installs prerequisites (Nix, Devbox, bubblewrap)
- Authenticates and connects the device to your team's mesh
Commands
setup (default)
npx @pinegrovedev/cli setupFull interactive install and provisioning. Some steps (like the Nix installer) may prompt for sudo.
Options:
--skip-prereqs— Skip prerequisite installation--token <token>— Provisioning token for headless setup--name <name>— Device name for headless setup--api-url <url>— Custom API URL
Headless mode (for CI/automation):
npx @pinegrovedev/cli setup --token pgr_tok_... --name my-serverstatus
npx @pinegrovedev/cli statusShow daemon version, process status, and prerequisite health.
uninstall
npx @pinegrovedev/cli uninstallStop the daemon and remove the system service. State directory is preserved.
Requirements
- Node.js 22+
- macOS (arm64/x86_64) or Linux (arm64/x86_64)
- curl (for downloading the daemon binary)
