docs: mise installation command (#2938)

This commit is contained in:
Zeno Jiricek
2025-11-16 14:44:28 +11:00
committed by GitHub
parent 487c2b5e76
commit 61fd21182c
3 changed files with 19 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ scoop bucket add extras; scoop install extras/opencode # Windows
choco install opencode # Windows
brew install opencode # macOS and Linux
paru -S opencode-bin # Arch Linux
mise use --pin -g ubi:sst/opencode # Any OS
```
> [!TIP]

View File

@@ -131,6 +131,18 @@ if (image) {
</span>
</button>
</div>
<div class="col4">
<h3>Mise</h3>
<button class="command" data-command="mise use --pin -g ubi:sst/opencode">
<code>
<span>mise use --pin -g</span> <span class="highlight">ubi:sst/opencode</span>
</code>
<span class="copy">
<CopyIcon />
<CheckIcon />
</span>
</button>
</div>
</section>
<section class="images">

View File

@@ -106,6 +106,12 @@ You can also install it with the following commands:
npm install -g opencode-ai
```
- **Using Mise**
```bash
mise use --pin -g ubi:sst/opencode
```
Support for installing OpenCode on Windows using Bun is currently in progress.
You can also grab the binary from the [Releases](https://github.com/sst/opencode/releases).