mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
docs: mise installation command (#2938)
This commit is contained in:
parent
487c2b5e76
commit
61fd21182c
3 changed files with 19 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue