v3.1.7
Installation
Stable (recommended for end users)
# Easiest path: one-liner curl installer. Works on
# Linux, macOS, and Windows (Git Bash / MSYS2 / Cygwin / WSL).
curl -fsSL https://raw.githubusercontent.com/Khip01/opencode-rich-presence/main/install.sh | bashPin to a specific version:
curl -fsSL https://raw.githubusercontent.com/Khip01/opencode-rich-presence/main/install.sh \
| ORP_VERSION=v3.1.7 bashIf you get HTTP 429 (rate-limited)
GitHub's raw CDN sometimes returns 429 Too Many Requests if
your IP has hit the unauthenticated rate limit (common on
shared networks, VPN exit nodes, or after many recent requests).
Two reliable fallbacks:
# Option A: jsDelivr CDN (mirrors GitHub via Cloudflare,
# usually a separate rate limit pool).
curl -fsSL https://cdn.jsdelivr.net/gh/Khip01/opencode-rich-presence@main/install.sh | bash
# Option B: use wget instead of curl (separate download path,
# often not affected when curl is).
wget -qO- https://raw.githubusercontent.com/Khip01/opencode-rich-presence/main/install.sh | bashIf both fail, download the tarball below and install manually
(any platform including Windows):
# Download from: https://github.com/Khip01/opencode-rich-presence/releases/latest
npm install -g ./opencode-rich-presence-v3.1.7.tgz
opencode-rpc installManual install from the tarball (any platform, including Windows)
# Download from the asset below, then:
npm install -g ./opencode-rich-presence-v3.1.7.tgz
opencode-rpc installWhy not npm install -g Khip01/opencode-rich-presence#v3.1.7?
npm v11 has a bug installing global git deps: the install
appears to succeed (added 1 package) but the
opencode-rpc binary is missing. Always install from a
local tarball. See
TROUBLESHOOTING.md
for the full story.
Upgrade
Once installed, use opencode-rpc update to upgrade:
opencode-rpc update # latest stable release tag
opencode-rpc update --stable # force install latest stable
opencode-rpc update --dev <branch> # latest commit on <branch>
opencode-rpc update --ref v3.1.7 # install a specific tag, branch, or SHA
opencode-rpc update --repo <fork> # install from a forkWhat's in v3.1.7
See CHANGELOG.md for full details.