Skip to content

v3.1.7

Choose a tag to compare

@github-actions github-actions released this 09 Jul 00:42
· 3 commits to main since this release
ee4b960

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 | bash

Pin to a specific version:

curl -fsSL https://raw.githubusercontent.com/Khip01/opencode-rich-presence/main/install.sh \
  | ORP_VERSION=v3.1.7 bash

If 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 | bash

If 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 install

Manual 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 install

Why 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 fork

What's in v3.1.7

See CHANGELOG.md for full details.