summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZeno Jiricek <[email protected]>2025-11-16 14:44:28 +1100
committerGitHub <[email protected]>2025-11-15 21:44:28 -0600
commit61fd21182c0bec717c66c28db56066c9e60c26c1 (patch)
tree1351d04a0fd2ea490e0f923c34d6c6dd6b7bea28
parent487c2b5e765e8c197ae48e59cf2726bdf8b18430 (diff)
downloadopencode-61fd21182c0bec717c66c28db56066c9e60c26c1.tar.gz
opencode-61fd21182c0bec717c66c28db56066c9e60c26c1.zip
docs: mise installation command (#2938)
-rw-r--r--README.md1
-rw-r--r--packages/web/src/components/Lander.astro12
-rw-r--r--packages/web/src/content/docs/index.mdx6
3 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 551456f32..ffec47dcb 100644
--- a/README.md
+++ b/README.md
@@ -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]
diff --git a/packages/web/src/components/Lander.astro b/packages/web/src/components/Lander.astro
index 421b2a5c8..2335ce3cb 100644
--- a/packages/web/src/components/Lander.astro
+++ b/packages/web/src/components/Lander.astro
@@ -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">
diff --git a/packages/web/src/content/docs/index.mdx b/packages/web/src/content/docs/index.mdx
index 701e7539b..c47623378 100644
--- a/packages/web/src/content/docs/index.mdx
+++ b/packages/web/src/content/docs/index.mdx
@@ -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).