Files
ProxyPilot/scripts/macos/README.md
T

31 lines
672 B
Markdown

# CLIProxyAPI (macOS)
This folder contains macOS helpers for building, running, and auto-starting CLIProxyAPI.
## One-time setup
From the repo root:
- Build: `./scripts/build.sh`
This builds `bin/cliproxyapi-latest`.
## Start / stop the proxy
- Start: `./scripts/start.sh`
- Stop: `./scripts/stop.sh`
- Restart: `./scripts/restart.sh`
Logs:
- `logs/cliproxyapi.out.log`
- `logs/cliproxyapi.err.log`
## Auto-start at login (launchd)
Install a per-user LaunchAgent (no admin required):
- Install: `./scripts/install-autostart.sh`
- Uninstall: `./scripts/uninstall-autostart.sh`
The LaunchAgent plist is written to `~/Library/LaunchAgents/com.cliproxyapi.plist`.