Skip to content
The Code Street logo The Code Street
Featured image of post How to Use OpenCode Desktop on Windows: Build an App Without the Terminal (FREE)

How to Use OpenCode Desktop on Windows: Build an App Without the Terminal (FREE)

Install the OpenCode desktop app on Windows, pick a free model with no account, plan and build an app without typing a single command, then review and test it. Plus the real problems I hit and how to fix them.

This is the same expense tracker from episode 1, with the same prompt and the same free model. This time, I didn’t type a single command.

In this guide, I install the OpenCode desktop app on Windows, pick a free model with no account and no sign-in, plan and build the app, and test it inside the app. I also cover the real problems I hit while recording and how to fix each one.

This is part 2 of my OpenCode series. Part 1 set up the terminal version: How to Use OpenCode on Windows for FREE.

🎥 Watch the Video

👉 Watch on YouTube: How to Use OpenCode Desktop on Windows


🧠 What Is the OpenCode Desktop App?

The desktop app is the same agent in a new window: sessions, tabs, review, browser and terminal

The desktop app is the same OpenCode agent as the terminal version, with the same models and the same Plan and Build modes. The difference is the window around it: your sessions on the side, a review view for changes, a built-in browser, and a settings screen you can click through instead of editing config files.

1️⃣ Step 1: Download and Install

x64 for most Windows PCs, ARM64 for Snapdragon laptops

Go to opencode.ai/download and scroll to Desktop. Windows has two installers:

  • x64: most Windows PCs (Intel and AMD)
  • ARM64: Snapdragon laptops

Not sure which one you have? Open Settings → System → About and check System type. Then run the installer like any other app.

Upgrading from the old desktop app? OpenCode 1 now offers the upgrade to OpenCode 2. You can restart to upgrade, upgrade on quit, or do it later, and your sessions, projects and settings are kept (v1.19.6 release notes). If your old app says it “no longer supports free models”, this upgrade is the fix.

2️⃣ Step 2: Open a Project

Click Open project, create a new folder (I used expense-tracker-desktop), and click Select Folder.

💡 Do this now, not later: if the app offers Create Git repository, click it. The review view only shows changes in a Git repository. Without one, it says “No tracked changes” (more on that below).

3️⃣ Step 3: Pick a Free Model

Open the model picker under the chat box and choose a model marked Free. I used DeepSeek V4.1 Flash Free. I didn’t need an account or a sign-in.

Two honest notes:

  • Free models are free for a limited time, so the list changes.
  • Some free models may keep your prompts. Don’t paste client code, passwords or API keys into them.

4️⃣ Step 4: Plan First, Then Build

Use the agent dropdown under the chat box:

Agent What it does
Plan Explores your project and writes a plan. It doesn’t edit your files.
Build Writes code, edits files and runs commands

My rule: start in Plan, read the plan, then switch to Build.

🚀 Demo: Build the Expense Tracker

In Plan mode, paste the same prompt as episode 1:

1
2
3
4
Plan a simple expense tracker web app using HTML, CSS and JavaScript.
I want to add an expense with an amount in rupees, a category and a date,
see the monthly total, and save everything in the browser's localStorage.
Keep it in three files.

Read the plan. If it looks right, switch the dropdown to Build and send: Go ahead and build it.

🔍 Review every change

The review view shows every file the agent created and every line it changed, like a code review. It needs Git: if your folder isn’t a Git repository, it shows “No tracked changes”.

🌐 Test it in the built-in browser

You can open the app in the built-in browser without leaving OpenCode. One catch: the built-in preview uses isolated storage, so data saved to localStorage disappears when you refresh. To check that saving works, open index.html in your normal browser.

⚙️ Settings Tour

The video walks through every Settings page. You can change providers, models and app behaviour there without touching a config file. Watch from the Settings chapter in the video for the full tour.

🤔 Desktop App or Terminal?

Desktop app vs terminal: best for, sessions, testing, also good for

They’re the same agent with the same models, so choose what fits how you work:

  • Desktop app: you want to see and review every change, keep several sessions open and test in one place.
  • Terminal: you live in the command line, work over SSH, or want something lighter.

Plenty of people will use both.

⚠️ Honest Limits

  • Free models change and have limits. If one stops working, pick another.
  • WSL is recommended for the best Windows experience. Native Windows is fine to start (Windows (WSL)).
  • OpenCode edits files and runs commands in your project. Use Git, or at least a test folder, until you trust it.

🛠️ Quick Fixes (All From This Recording)

Problem Fix
ECONNREFUSED The model is pointing at Ollama and Ollama isn’t running. Pick a free model, or start Ollama.
“I can’t build it from here” You’re still in Plan mode. Switch the dropdown to Build and send again.
Review says “No tracked changes” The folder isn’t a Git repository. Click Create Git repository, ideally before you start.
Data gone after refresh in the built-in browser Its preview uses isolated storage. Open the file in a normal browser.
“No longer supports free models” Upgrade to the latest desktop app from opencode.ai/download.
x64 or ARM64? Settings → System → About → System type

⏭️ Next in the Series

Next up: OpenCode + Ollama. You’ll run a model on your own PC, with no account and no internet, in both the terminal and the desktop app. Subscribe to The Code Street so you don’t miss it.

📚 Sources

comments powered by Disqus