Skip to content

Commit a932ed1

Browse files
committed
docs: add CLIProxyAPI version check, update, and restart instructions
1 parent 7d42f0b commit a932ed1

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,30 @@ setup_cli_proxy!(
5050
)
5151
```
5252

53+
## CLIProxyAPI Management
54+
55+
### Check running version
56+
```bash
57+
~/cliproxyapi/cli-proxy-api --version 2>&1 | head -1
58+
```
59+
60+
### Update
61+
```bash
62+
# Re-run installer (preserves config, upgrades binary)
63+
curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/refs/heads/master/cliproxyapi-installer | bash
64+
65+
# Then restart
66+
systemctl --user restart cliproxyapi.service
67+
```
68+
69+
### Restart (e.g. after update, or if stale process running old binary)
70+
```bash
71+
systemctl --user restart cliproxyapi.service
72+
systemctl --user status cliproxyapi.service
73+
```
74+
75+
**Note:** Models are hardcoded in the binary — new models only appear after updating to a release that includes them. Models also only show if your logged-in account has access.
76+
5377
## Supported Models
5478

5579
**Anthropic:** claude-opus-4.6, claude-opus-4.5, claude-sonnet-4.5, claude-haiku-4.5, claude-opus-4.1, claude-opus-4, claude-sonnet-4, claude-3.7-sonnet, claude-3.5-haiku

0 commit comments

Comments
 (0)