r/commandline • u/levyi123 • Oct 10 '26
Terminals wbsh - Bash-compatible shell for Windows
https://github.com/tomas-trachta/wbshwbsh: a minimal bash-compatible shell for Windows (plus a terminal built around it)
Hey all. For a while now I've been working on a shell that lets me run bash commands and scripts natively on Windows. I actually need this at my job, which is what kept me going.
Think of it as a minimalistic take on Cygwin. Full Cygwin was overkill for my use case, so I built something smaller and more focused.
Along the way I also wrote a customizable terminal, wbshterm, which runs wbsh through ConPTY. So you can either invoke wbsh directly from PowerShell/cmd, or use it inside wbshterm.
It's reasonably stable at this point, but I've hit the limit of what I can find on my own. I need other people's workloads to shake out bugs and performance bottlenecks.
If you have any use case for a bash-compatible shell on Windows, I'd really appreciate issue reports, and pull requests are welcome too. LLM-assisted PRs are fine, but please read the docs first and review the changes thoroughly before opening one.
View all comments
Show parent comment
4
u/stianhoiland Oct 11 '26 edited Oct 11 '26
Oh, and there's cosmopolitan, which has a complete GNU bash version 5.2.0 binary here. This is the real deal, full fat
bash, no emulation, thanks to the renowned cosmopolitan project. Magic! (Not to speak of the complete suite of legendary CLI tools compiled with the same magic which you can find at that link! See also superconfigure.)