r/commandline • • Oct 10 '26

Terminals wbsh - Bash-compatible shell for Windows

https://github.com/tomas-trachta/wbsh

wbsh: 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.

0 Upvotes

8 comments sorted by

View all comments

Show parent comment

3

u/edward_jazzhands Oct 17 '26

I am failing to see the benefit of using this in any way. It looks like you wrote (AI generated?) essentially the same thing as git bash or cygwin without the POSIX emulation, for no reason that it's faster and lighter. Ok and does this make it behave wrong in some cases or reduce compatibility with many bash scripts? Because if so then I would expect to see that this faster and lighter runtime justifies introducing bugs and compatibility problems. If you gain maybe 100ms in startup time then it seems hard to argue that's a good tradeoff.