Compare commits

...
1 Commits
Author SHA1 Message Date
Filip Hejmowski b6e4b424d1 docs: add WinGet install commands 2026-10-13 01:03:39 +02:00
3 changed files with 35 additions and 2 deletions

No files matched your search

@@ -77,6 +77,12 @@ export default function Download() {
</code>
<CopyStatus />
</button>
<button data-component="cli-row" onClick={handleCopyClick("winget install --id Anomaly.OpenCode -e")}>
<code>
winget install --id <strong>Anomaly.OpenCode</strong> -e
</code>
<CopyStatus />
</button>
<button data-component="cli-row" onClick={handleCopyClick("paru -S opencode-beta")}>
<code>
paru -S <strong>opencode-beta</strong>
@@ -103,6 +109,15 @@ export default function Download() {
</code>
<CopyStatus />
</button>
<button
data-component="cli-row"
onClick={handleCopyClick("winget install --id Anomaly.OpenCode.Desktop -e")}
>
<code>
winget install --id <strong>Anomaly.OpenCode.Desktop</strong> -e
</code>
<CopyStatus />
</button>
<div data-component="download-row">
<div data-component="download-info">
<span data-slot="icon">
+13
View File
@@ -88,6 +88,9 @@ export default function Home() {
<Tabs.Trigger value="brew" data-slot="tab">
brew
</Tabs.Trigger>
<Tabs.Trigger value="winget" data-slot="tab">
winget
</Tabs.Trigger>
<Tabs.Trigger value="paru" data-slot="tab">
paru
</Tabs.Trigger>
@@ -135,6 +138,16 @@ export default function Home() {
<CopyStatus />
</button>
</Tabs.Content>
<Tabs.Content as="pre" data-slot="panel" value="winget">
<button data-copy data-slot="command" onClick={handleCopyClick}>
<span>
<span data-slot="protocol">winget install --id </span>
<span data-slot="highlight">Anomaly.OpenCode</span>
<span> -e</span>
</span>
<CopyStatus />
</button>
</Tabs.Content>
<Tabs.Content as="pre" data-slot="panel" value="paru">
<button data-copy data-slot="command" onClick={handleCopyClick}>
<span>
+7 -2
View File
@@ -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" },
@@ -25,8 +26,6 @@ OpenCode is an open source AI coding agent. It’s available as a terminal-based
The npm package uses a postinstall script to select the native `opencode` binary for your platform. The Bun and pnpm commands
explicitly allow the required script; Vite+ requires no additional flag.
Windows package managers are not supported.
Download a standalone CLI binary for your platform.
@@ -45,6 +44,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