opencode/packages/desktop
opencode 4ee426ba54 release: v1.2.27 2026-03-16 02:33:48 +00:00
..
scripts
src desktop: multi-window support in electron (#17155) 2026-03-13 09:18:27 +08:00
src-tauri
.gitignore
AGENTS.md
README.md
index.html
package.json release: v1.2.27 2026-03-16 02:33:48 +00:00
sst-env.d.ts
tsconfig.json
vite.config.ts

README.md

OpenCode Desktop

Native OpenCode desktop app, built with Tauri v2.

Prerequisites

Building the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the Tauri prerequisites for setup instructions.

Development

From the repo root:

bun install
bun run --cwd packages/desktop tauri dev

Build

bun run --cwd packages/desktop tauri build

Troubleshooting

Rust compiler not found

If you see errors about Rust not being found, install it via rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh