The open source coding agent.
TypeScript
docs: add homebrew command for `opencode-desktop` (#5631)
Connor Adamsdef910021d79
diff --git a/README.md b/README.mdindex eb0295c9c8f..69d7e17a2eb 100644--- a/README.md+++ b/README.md@@ -37,6 +37,22 @@ nix run nixpkgs#opencode # or github:sst/opencode for latest dev branc> [!TIP]> Remove versions older than 0.1.x before installing.+### Desktop App (BETA)++OpenCode is also available as a desktop application. Download directly from the [releases page](https://github.com/sst/opencode/releases) or [opencode.ai/download](https://opencode.ai/download).++| Platform | Download |+| --------------------- | ------------------------------------- |+| macOS (Apple Silicon) | `opencode-desktop-darwin-aarch64.dmg` |+| macOS (Intel) | `opencode-desktop-darwin-x64.dmg` |+| Windows | `opencode-desktop-windows-x64.exe` |+| Linux | `.deb`, `.rpm`, or AppImage |++```bash+# macOS (Homebrew)+brew install --cask opencode-desktop+```+#### Installation DirectoryThe install script respects the following priority order for the installation path:diff --git a/packages/console/app/src/routes/download/index.tsx b/packages/console/app/src/routes/download/index.tsxindex a19b97aa0fa..7783a738a43 100644--- a/packages/console/app/src/routes/download/index.tsx+++ b/packages/console/app/src/routes/download/index.tsx@@ -93,6 +93,12 @@ export default function Download() {<span>[2]</span> OpenCode Desktop (Beta)</div><div data-component="section-content">+ <button data-component="cli-row" onClick={handleCopyClick("brew install --cask opencode-desktop")}>+ <code>+ brew install --cask <strong>opencode-desktop</strong>+ </code>+ <CopyStatus />+ </button><div data-component="download-row"><div data-component="download-info"><span data-slot="icon">