Skip to content

Commit 67ef97c

Browse files
committed
docs: use scoped opencodex install spec
1 parent a8eeec0 commit 67ef97c

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs-site/src/content/docs/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ocx service uninstall
9393
### `ocx update`
9494

9595
Self-update opencodex to the latest version published on npm, using the package manager it was
96-
installed with (`bun add -g @bitkyc08/opencodex@latest` or `npm install -g @bitkyc08/opencodex@latest`). It detects a
96+
installed with (`bun install -g @bitkyc08/opencodex@latest` or `npm install -g @bitkyc08/opencodex@latest`). It detects a
9797
source checkout and tells you to `git pull && bun install` instead, and is a no-op if you're already
9898
on the newest version. Restart the proxy afterward (`ocx stop && ocx start`) to run the new build.
9999

scripts/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $bunVer = & bun --version
1414
Write-Host "Using Bun v$bunVer"
1515

1616
# Install opencodex globally
17-
& bun add -g @bitkyc08/opencodex
17+
& bun install -g @bitkyc08/opencodex
1818

1919
Write-Host ""
2020
Write-Host "opencodex installed! Run 'ocx init' to set up." -ForegroundColor Green

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ BUN_VER=$(bun --version)
1414
echo "Using Bun v$BUN_VER"
1515

1616
# Install opencodex globally
17-
bun add -g @bitkyc08/opencodex
17+
bun install -g @bitkyc08/opencodex
1818

1919
echo ""
2020
echo "✅ opencodex installed! Run 'ocx init' to set up."

scripts/postinstall.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22
/**
3-
* postinstall — one-time GitHub-star prompt during `npm install -g opencx`.
3+
* postinstall — one-time GitHub-star prompt during `npm install -g @bitkyc08/opencodex`.
44
*
55
* Behavior:
66
* - TTY-only (skips CI / piped installs)

0 commit comments

Comments
 (0)