You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recommended Terminal for Windows - as all I tried have weird artifacts so far #2821
Hello, Windows Terminals seem to not work with opencode across the Board for me. I cannot scroll - answers getting squashed so I can only read few lines of the answers. You get the Problems. Other Issues here - there will always be the question of which terminal they are using. I get that. But if devs don't have problems with their Terminal, pls provide a recommended working Terminal Application for Windows. I am happy to switch to any working Terminal.
interesting, I'm using Windows Terminal, have you checked the basics? You say terminal but it can run powershell or WSL, assuming you're using one of those.
When i using git bash, paste is unreliable: text appears slowly (character-by-character) and any newline in the clipboard submits the prompt instead of pasting fully. In WezTerm, copy/paste works, but scrolling is inconsistent—sometimes it scrolls, other times the prompt captures input as if I pressed the up/down arrows (showing command history)
@kingabzpro I mean, what doesn't work? Like weird artifacts, can't paste image, can't open opencode,... ? npm will work fine as it already fixed recently, you can use choco or just download the binary file in the release.
@kingabzpro I mean, what doesn't work? Like weird artifacts, can't paste image, can't open opencode,... ? npm will work fine as it already fixed recently, you can use choco or just download the binary file in the release.
Install
npm i -g opencode-ai
Add npm global to PATH (once)
$bin= (npm config get prefix)
if (($env:Path-split';') -notcontains$bin) {
$u= [Environment]::GetEnvironmentVariable('Path','User')
[Environment]::SetEnvironmentVariable('Path',"$u;$bin",'User')
}
Use with portable Alacritty, run alacritty.exe, then:
opencode
Note: Prefer the portable Alacritty exe file; other installs (e.g., winget) can mess with scrollback.
@kingabzpro the only thing I trust is choco or binary file from github release or npm(recently) and I also use Alacritty not sure why you would use portable but maybe depend on your preference and wezterm also work. winget and bun currently out of the game rn, I suppose.
I have downloaded opencode on the WSL instance and then run it from there. It's been a pretty stable experience so far and it looks a little bit nicer than Windows Terminal, except for the black lines at the edges, haha.
Note:
You should maybe look up, how the config should like like according to wez, because mine is AI-generated and as you can see, looks weird, but works.
For the record: I'm using opencode in WSL using windows terminal and it's working flawlessly. I noticed the moment the copy paste, the input that broke when you deleted repeatedly and the sudden crashes were fixed and haven't had major issues since then. Only model related stuff that's probably in the many issues created already. (ALL NON-ISSUES, like Github Copilot's anthropic models hitting a specific context limit from which it doesn't recover: neither it compacts automatically nor it actually compacts if you run the command).
For the record: I'm using opencode in WSL using windows terminal and it's working flawlessly. I noticed the moment the copy paste, the input that broke when you deleted repeatedly and the sudden crashes were fixed and haven't had major issues since then. Only model related stuff that's probably in the many issues created already. (ALL NON-ISSUES, like Github Copilot's anthropic models hitting a specific context limit from which it doesn't recover: neither it compacts automatically nor it actually compacts if you run the command).
Just passing by, very cool editor, i love it
Confirming the same, I have stock windows terminal and am running opencode installed via winget (in windows native not in wsl) and so far it seems like there are none of the interface issues mentioned outside of the paste items mentioned in the quote above and #3081
Activity
github-actions commentedon Sep 27, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
jameswilliamknight commentedon Sep 27, 2025
interesting, I'm using Windows Terminal, have you checked the basics? You say terminal but it can run powershell or WSL, assuming you're using one of those.
WSL, see if you can render this
for me it's a deep orange
rekram1-node commentedon Sep 27, 2025
@itsrainingmani
neochin-john commentedon Sep 29, 2025
I use opencode in
git bash. Scroll seems ok :)kingabzpro commentedon Sep 29, 2025
@neochin-john even on git bash the scroll dosent work for the generated response. Only page up and down work for scrolling.
neochin-john commentedon Sep 29, 2025
@kingabzpro alacritty is ok for me (win11), too. You can try it.
kingabzpro commentedon Sep 29, 2025
It works on wsl only.
neochin-john commentedon Sep 29, 2025
@kingabzpro There is a msi installer on alacritty home page, use it.
nuson999 commentedon Sep 30, 2025
I ran opencode through git bash from cursor and have no problem since then.
vrajpat3ll commentedon Sep 30, 2025
I tried this. This works perfectly on windows! Thanks mate <3
CodingPassionYT commentedon Oct 1, 2025
Ok thought I tried git bash already. Will try it again today :)
JunarisAlf commentedon Oct 4, 2025
When i using git bash, paste is unreliable: text appears slowly (character-by-character) and any newline in the clipboard submits the prompt instead of pasting fully. In WezTerm, copy/paste works, but scrolling is inconsistent—sometimes it scrolls, other times the prompt captures input as if I pressed the up/down arrows (showing command history)
nielpattin commentedon Oct 6, 2025
Currently, I found alacritty and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild
kingabzpro commentedon Oct 10, 2025
It dosent work for me. I think. I have to install with npm, the winget way of installing is not working.
nielpattin commentedon Oct 10, 2025
@kingabzpro I mean, what doesn't work? Like weird artifacts, can't paste image, can't open opencode,... ? npm will work fine as it already fixed recently, you can use choco or just download the binary file in the release.
kingabzpro commentedon Oct 10, 2025
alacritty.exe, then:Note: Prefer the portable Alacritty exe file; other installs (e.g., winget) can mess with scrollback.
nielpattin commentedon Oct 10, 2025
@kingabzpro the only thing I trust is choco or binary file from github release or npm(recently) and I also use Alacritty not sure why you would use portable but maybe depend on your preference and wezterm also work. winget and bun currently out of the game rn, I suppose.
Soren8 commentedon Oct 30, 2025
Alacritty working great for me. Thanks guys.
cocoveal commentedon Nov 10, 2025
I am late to the party, but what has been an issue-free experience for me was the following setup:
WezTerm for Windows that bypasses Powershell and opens directly in Bash in WSL (Ubuntu).
I do this with the following part of the config:
I have downloaded opencode on the WSL instance and then run it from there. It's been a pretty stable experience so far and it looks a little bit nicer than Windows Terminal, except for the black lines at the edges, haha.
Note:
You should maybe look up, how the config should like like according to wez, because mine is AI-generated and as you can see, looks weird, but works.
expl0r3rgu1 commentedon Nov 28, 2025
For the record: I'm using opencode in WSL using windows terminal and it's working flawlessly. I noticed the moment the copy paste, the input that broke when you deleted repeatedly and the sudden crashes were fixed and haven't had major issues since then. Only model related stuff that's probably in the many issues created already. (ALL NON-ISSUES, like Github Copilot's anthropic models hitting a specific context limit from which it doesn't recover: neither it compacts automatically nor it actually compacts if you run the command).
Just passing by, very cool editor, i love it
pschiel commentedon Dec 26, 2025
No problems with scrolling with Windows Terminal and various shells (cmd, pwsh, wsl, git bash).
Pasting images works with Settings > Interaction > Remove trailing white-space when pasting OFF
jax0m commentedon Mar 7, 2026
Confirming the same, I have stock windows terminal and am running opencode installed via winget (in windows native not in wsl) and so far it seems like there are none of the interface issues mentioned outside of the paste items mentioned in the quote above and #3081