Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions services/site/src/docs/content/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ OpenCode is an open source AI coding agent. It’s available as a terminal-based
tabs={[
{ label: "curl", code: "curl -fsSL https://opencode.ai/v2/install | bash" },
{ label: "homebrew", code: "brew install anomalyco/tap/opencode-v2" },
{ label: "winget", code: "winget install --id Anomaly.OpenCode -e" },
{ label: "npm", code: "npm install -g @opencode/cli" },
{ label: "bun", code: "bun install -g --trust @opencode/cli" },
{ label: "pnpm", code: "pnpm add -g --allow-build=@opencode/cli @opencode/cli" },
Expand All @@ -27,8 +28,6 @@ The npm package uses a postinstall script to select the native `opencode` binary
explicitly allow the required script; Vite+ requires no additional flag. The mise command requires mise 2026.10.9 or later;
older versions install OpenCode 1.

Windows package managers are not supported.


Download a standalone CLI binary for your platform.

Expand All @@ -47,6 +46,12 @@ Download the latest OpenCode Desktop build for your platform.
- **Linux (.rpm):** [x64](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-x86_64.rpm) · [ARM64](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-aarch64.rpm)
- **Linux (AppImage):** [x64](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-x86_64.AppImage) · [ARM64](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-arm64.AppImage)

On Windows, you can also install it with WinGet.

```powershell
winget install --id Anomaly.OpenCode.Desktop -e
```


## Web

Expand Down
1 change: 0 additions & 1 deletion services/site/src/lib/docs-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export const docsIntro = {
{ code: "opencode" },
" binary for your platform. The Bun and pnpm commands explicitly allow the required script; Vite+ requires no additional flag. The mise command requires mise 2026.10.9 or later; older versions install OpenCode 1.",
],
["Windows package managers are not supported."],
["Download a standalone CLI binary for your platform."],
] satisfies RichText[],
desktop: "Download the latest OpenCode Desktop build for your platform.",
Expand Down
1 change: 1 addition & 0 deletions services/site/src/lib/install-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const installs = [
export const docsInstalls = [
{ label: "curl", code: installs[0].command },
{ label: "homebrew", code: installs[3].command },
{ label: "winget", code: "winget install --id Anomaly.OpenCode -e" },
{ label: "npm", code: installs[1].command },
{ label: "bun", code: installs[2].command },
{ label: "pnpm", code: "pnpm add -g --allow-build=@opencode/cli @opencode/cli" },
Expand Down
Loading