2026-01-07 03:07:20 +08:00
# OpenCode Desktop
2025-11-22 13:15:01 +08:00
2026-01-07 03:07:20 +08:00
Native OpenCode desktop app, built with Tauri v2.
2025-11-22 13:15:01 +08:00
2026-02-25 12:28:48 +08:00
## Prerequisites
Building the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the [Tauri prerequisites ](https://v2.tauri.app/start/prerequisites/ ) for setup instructions.
2026-01-07 03:07:20 +08:00
## Development
2025-11-22 13:15:01 +08:00
2026-01-07 03:07:20 +08:00
From the repo root:
```bash
bun install
bun run --cwd packages/desktop tauri dev
```
2026-02-25 12:28:48 +08:00
## Build
2026-01-07 03:07:20 +08:00
```bash
2026-02-25 12:28:48 +08:00
bun run --cwd packages/desktop tauri build
2026-01-07 03:07:20 +08:00
```
2026-02-25 12:28:48 +08:00
## Troubleshooting
### Rust compiler not found
2026-01-07 03:07:20 +08:00
2026-02-25 12:28:48 +08:00
If you see errors about Rust not being found, install it via [rustup ](https://rustup.rs/ ):
2026-01-07 03:07:20 +08:00
```bash
2026-02-25 12:28:48 +08:00
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2026-01-07 03:07:20 +08:00
```