docs: mise installation command (#2938)

pull/4380/head
Zeno Jiricek 2025-11-16 14:44:28 +11:00 committed by GitHub
parent 487c2b5e76
commit 61fd21182c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 choco install opencode # Windows
brew install opencode # macOS and Linux brew install opencode # macOS and Linux
paru -S opencode-bin # Arch Linux paru -S opencode-bin # Arch Linux
mise use --pin -g ubi:sst/opencode # Any OS
``` ```
> [!TIP] > [!TIP]

View File

@ -131,6 +131,18 @@ if (image) {
</span> </span>
</button> </button>
</div> </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>
<section class="images"> <section class="images">

View File

@ -106,6 +106,12 @@ You can also install it with the following commands:
npm install -g opencode-ai 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. 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). You can also grab the binary from the [Releases](https://github.com/sst/opencode/releases).