GeezerVison is showing github.com — Windows Support · Issue #631 · anomalyco/opencode
Closed 23 / 2323 of 23 issues completedClosed 23 / 2323 of 23 issues completed Descriptionour windows support isn't really there - creating this one super issue to track all problems Reacted by Damy Wise, T1ckbase, Matheson Steplock, 0xDEL, Julio, felixreed, Vilem Jelen, illgitthat, Raymel, Damian Górski and 115 more Reacted by Thomas and José Lucas Alves Reacted by Trevor Sullivan, Ra, Per Bering, Andrej Fink, eum2o, Chindriș Mihai - Alexandru, Gonzalo, Sha1rholder, ng-nmatik and Nils Sub-issuesCollapse Sub-issuesSub-issues23 of 2323 of 23 Issues completedLoading 23 sub-issues Activityxmintec commented on Jul 3, 2025 here is how it works for me
- Install Chocolatey
Open PowerShell as administrator.
Run the following command to relax the execution policy so the installation script can run:
Set-ExecutionPolicy Bypass -Scope Process -Force
Now run the official Chocolatey installation command:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Install the missing tools with Chocolatey:
choco install unzip ripgrep fzf -y
- Navigate to the folder containing your opencode.exe.
Double-click and Opencode should run.
Reacted by Liya2199, Maaz Chowdhry, Andrej Fink, edision and Chindriș Mihai - Alexandru ikifar2012 commented on Jul 3, 2025
here is how it works for me
- Install Chocolatey
Open PowerShell as administrator.
Run the following command to relax the execution policy so the installation script can run:
Set-ExecutionPolicy Bypass -Scope Process -Force
Now run the official Chocolatey installation command:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Install the missing tools with Chocolatey:
choco install unzip ripgrep fzf -y
- Navigate to the folder containing your opencode.exe.
Double-click and Opencode should run.
Ideally though I think it would be best if this was bundled into the exe but if not possible then just document this Reacted by CC and Chindriș Mihai - Alexandru davidanew commented on Jul 4, 2025 I have done this:
choco install unzip ripgrep fzf -y
I updated to the latest version v0.1.189
I still get the "no text" probem , issue #460 xmintec commented on Jul 4, 2025
I have done this:
choco install unzip ripgrep fzf -y
I updated to the latest version v0.1.189
I still get the "no text" probem , issue #460
You're right, you can't enter text. Unfortunately, I didn't test it any further than I left the welcome text from Opencode, which was fine for me because I had other things to do. It's the dependency on Bun that's a problem. I've now solved it for myself with Docker, but it's a bit of a hassle. Sooner or later, I'll install it on my Mac; it should work better there. davidanew commented on Jul 4, 2025 For the "bun" problem:
● Here's the problematic macro import on line 5:
import { data } from "./models-macro" with { type: "macro" }
This is a Bun-specific macro import that executes the data() function at compile time to fetch model information from https://models.dev/api.json. The macro system is causing the crash on Windows.
To temporarily fix this, you can comment out that line:
// import { data } from "./models-macro" with { type: "macro" }
The macro is used to embed AI model data at build time, but the application should still work without it (though some model information might not be available).
This worked for me to get the opencode gui up. It still has the "no text" problem, but at least I can starting investigating it davidanew commented on Jul 4, 2025 Setting "Use the legacy input encoding" in Poweshell settings -> Terminal emulation fixes the text problems Reacted by aliiyousif and Chindriș Mihai - Alexandru davidanew commented on Jul 4, 2025 I had a git hash related error when doing /init . This fixed it:
Update(packages/opencode/src/snapshot/index.ts)
⎿ Updated packages/opencode/src/snapshot/index.ts with 20 additions and 2 removals
46 log.info("commit")
47
48 // Extract commit hash from output like "[main abc1234] snapshot"
49 - const match = result.stdout.toString().match(/[.+ ([a-f0-9]+)]/)
50 - if (!match) throw new Error("Failed to extract commit hash")
49 + const output = result.stdout.toString()
50 + log.info("git commit output", { output, stderr: result.stderr.toString() })
51 +
52 + const match = output.match(/[.+ ([a-f0-9]+)]/)
53 + if (!match) {
54 + // Fallback: get commit hash with git rev-parse
55 + try {
56 + const hashResult = await $git --git-dir ${git} rev-parse HEAD
57 + .quiet()
58 + .cwd(app.path.cwd)
59 + .nothrow()
60 + const hash = hashResult.stdout.toString().trim()
61 + if (hash && hash.length >= 7) {
62 + return hash.substring(0, 7)
63 + }
64 + } catch (e) {
65 + log.error("Failed to get commit hash with rev-parse", { error: e })
66 + }
67 + throw new Error(Failed to extract commit hash from: ${output})
68 + }
69 return match[1] strager commented on Jul 5, 2025 "No text" issues might be related to num lock (see charmbracelet/x#485). Can you try turning off num lock? Reacted by SkiTee3000, rubikmaster, Salam Horani, Viacheslav, Mohamed Khennoussi and Chindriș Mihai - Alexandru strager commented on Jul 5, 2025 QDaed commented on Jul 5, 2025 #404 This issue still remain with the lastest patch wienans commented on Jul 9, 2025 @thdxr after starting the exe from the latest release i get this log (Win10).
INFO 2025-07-09T07:16:21 +63ms service=default version=0.2.13 args= opencode
INFO 2025-07-09T07:16:21 +8ms service=app cwd=C:\Users\******\opencode-windows-x64(1) creating
INFO 2025-07-09T07:16:21 +0ms service=app git
INFO 2025-07-09T07:16:21 +7ms service=bus type=storage.write subscribing
INFO 2025-07-09T07:16:21 +0ms service=app name=bus registering service
INFO 2025-07-09T07:16:21 +0ms service=format init
INFO 2025-07-09T07:16:21 +0ms service=bus type=file.edited subscribing
INFO 2025-07-09T07:16:21 +0ms service=config.hooks init
INFO 2025-07-09T07:16:21 +0ms service=bus type=file.edited subscribing
INFO 2025-07-09T07:16:21 +0ms service=bus type=session.idle subscribing
INFO 2025-07-09T07:16:21 +0ms service=app name=lsp registering service
INFO 2025-07-09T07:16:21 +0ms service=lsp initializing
INFO 2025-07-09T07:16:21 +4ms service=app name=file.watcher registering service
INFO 2025-07-09T07:16:21 +0ms service=app name=provider registering service
INFO 2025-07-09T07:16:21 +1ms service=app name=config registering service
INFO 2025-07-09T07:16:21 +4ms service=config loaded
INFO 2025-07-09T07:16:21 +2ms service=models.dev refreshing
INFO 2025-07-09T07:16:21 +0ms service=provider init
INFO 2025-07-09T07:16:21 +4ms service=app name=lsp shutdown
ERROR 2025-07-09T07:16:22 +885ms service=default name=Error message=Executable not found in $PATH: "unzip" fatal
ERROR 2025-07-09T07:16:22 +1ms service=default e=Executable not found in $PATH: "unzip" rejection
Did i miss any dependency installation process? QDaed commented on Jul 12, 2025 i dont really know when will windows have a fix,it haven't usable since the first release with a lot of render bug, i love opencode as because it is good while i was using wsl2 but want to use it on windows to sync with my workflow since claude code not supported . davidanew commented on Jul 12, 2025 Nivarrym commented on Feb 11, 2026
@Branskugel I am unable to repro - are you able to attach a quick video of the issue?
Yeah, I'm afraid my report was incomplete: the problem occurs in powershell 7 wrapped with wezterm nightly, my apologies.
- Open Wezterm
- type 'opencode' to launch
- type '/exit' in user prompt, press enter
- check windows task manager - opencode.exe no longer there
2026-02-11.13-07-13.mp4
Here's text of the response:
⚠️ Process "pwsh -NoLogo -NoExit" in domain "local" didn't exit cleanly
Exited with code 2148734499.
This message is shown because exit_behavior="CloseOnCleanExit"
gimlichael commented on Feb 12, 2026 csfercoci commented on Feb 14, 2026 same issue with copy past on linux debian DEAN-Cherry commented on Feb 20, 2026
@Branskugel I am unable to repro - are you able to attach a quick video of the issue?
Yeah, I'm afraid my report was incomplete: the problem occurs in powershell 7 wrapped with wezterm nightly, my apologies.
1. Open Wezterm
2. type 'opencode' to launch
3. type '/exit' in user prompt, press enter
4. check windows task manager - opencode.exe no longer there
2026-02-11.13-07-13.mp4
Here's text of the response:
⚠️ Process "pwsh -NoLogo -NoExit" in domain "local" didn't exit cleanly
Exited with code 2148734499.
This message is shown because exit_behavior="CloseOnCleanExit"
same for me. if u enter a session then use /exit it may close regularly on wezterm. However, this works well on Windows Terminal tppawelgrzesik commented on Mar 4, 2026 Is change detection suppose to work with Windows now when using the Desktop app?
I'm on Windows 11, using latest Desktop app v1.2.17, tried both Electron and normal version.
And for me change detection is still completely broken.
All my colleagues tell me the same.
The review tab stays empty no matter what. uplg commented on Mar 4, 2026 On Windows 11, in Windows Terminal, can't access agents output since the last update. Not clickable anymore. And Ctrl+X Down isn't working for me.
EDIT : It works but you have to make Ctrl+X THEN down :') jax0m commented on Mar 7, 2026 Massively easier (and safer than adding an ExecutionPolicy Bypass) for installation overall is to leverage the inbuilt cli tool (winget) for installation.
winget install SST.opencode
Though... I would recommend considering renaming the desktop version so the cli could be installed a little easier because when running winget install opencode you get:
Multiple packages found matching input criteria. Please refine the input.
Name Id Source
-----------------------------------
OpenCode SST.OpenCodeDesktop winget
opencode SST.opencode winget
Reacted by c̵̛̥͊ŏ̸̡̼̺̫̥̻͈̞̍͆̏̓́͜͝ͅl̶̬̞͎̖͉̹̝͕̝͖̣̉͆i̶̡̹͈͎̳̞͙͖̾̂̀͑̀͆̑̓̽̉͐͘͘ͅǹ̷̨͍̮̥̹̘͙̗̻̬̬̜̥̮̃̒̈́̽͗̿̍̄̂̏͆͠͝ ẃ̸̝̝̰͋͒i̶̡̹͈͎̳̞͙͖̾̂̀͑̀͆̑̓̽̉͐͘͘ͅl̶̬̞͎̖͉̹̝͕̝͖̣̉͆l̶̬̞͎̖͉̹̝͕̝͖̣̉͆i̶̡̹͈͎̳̞͙͖̾̂̀͑̀͆̑̓̽̉͐͘͘ͅǎ̴̯̀͠m̵̢͕̫̓̔͑̊̈s̴̹̀̎̇͗̍͗̾̋̏̈͐͒̕͠͠ͅ tppawelgrzesik commented on Mar 24, 2026 @Hona @adamdotdevin @thdxr just want to make you aware that change detection still not working for our project on Windows 11.
OpenCode Desktop
v1.3.0
Is there a ticket to track the status of this? PierrunoYT commented on Mar 27, 2026 thdxr commented on Apr 2, 2026 closing this mega issue in favor of smaller ones. bramburn commented on Apr 2, 2026 Nah man doing the wrong thing. Keep the fire going
Regards,
B.Ramburn BSc (Hons) LLM MCIArb
Snr. Quantity Surveyor & Director at Icelabz
…ADiv0viDA commented on May 19, 2026 Windows Terminal, WSL1, i find shortcuts absolutely annoying, i keep using my 40-years-usual shortcuts and most of all don't work or even worse :
- CTRL+C makes me quit the app many times a day... (CTRL+X, CTRL+C, CTRL+V are windows standards...)
- Home, End, Page Up, Page Down : doesn't behave as i use to use them for (navigation inside my prompt)
- i also don't know how to create a new line in my prompt (how many times did i send the prompt instead of creating a new line with Enter or CTRL+Enter).
I love the app but, in its current state, shortcuts UX is a real messy PITA.
Would it be possible to have presets of shortcuts or at least to switch from Linux to Windows shortcuts in settings ?
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|