← Package directory
Available on winget

Install C Shell for Windows

A csh-style shell for Windows with concurrent pipelines, exact-rational bc/dc, native Win32, real concurrency, and built-in AI. One ~14 MB binary, no runtime.

Install with winget
winget install --id Tropibyte.cshw
Upgrade
winget upgrade --id Tropibyte.cshw
Uninstall
winget uninstall --id Tropibyte.cshw

About C Shell for Windows

cshw is a native Windows command shell with csh/tcsh-flavored syntax. Familiar Unix shell ergonomics meet first-class Win32 access -- no WSL, no Cygwin, no compatibility layer. 110+ builtin commands cover file ops, text processing (grep with PCRE2, sed, awk, sort with -t/-k, head/tail with -f), real concurrency primitives (coroutines, mutex, semaphore, barrier, channel), Win32 calls (rundllproc, winapi, dllimport), and built-in AI (OpenAI, Anthropic, Azure, Ollama, LM Studio). Runs your existing .bat, .cmd, and .ps...

What's new in 1.0.7.1

v1.0.7.1-alpha: cosmetic version-display fixes. `cshw --version` now prints "C-Shell for Windows version 1.0.7.1" and exits (previously fell into REPL mode -- noticed by the winget validator). The `ver` / `version` builtins now show all four components ("1.0.7.1" instead of "1.0.7"). No behavior changes; underlying shell is identical to 1.0.7.0. v1.0.7.0-alpha (carried over): concurrent pipelines. Each segment of `a | b | c` runs on its own thread with bounded Win32 pipes between adjacent stages. Streaming early-termination -- `seq 1 10000000 | head -1` now stops the producer near-instantly instead of running to completion. External commands stream too via STARTF_USESTDHANDLES. Pipelines inside procs see $1/$argv correctly. `set pipemode = sequential` preserved as the user-selectable opt-out that restores 1.0.6.x semantics. bc -x exact rationals plus matrix tier and complex numbers, POSIX dc with conditional macros and register arrays, cascading settings layer (settings.csh > HKCU > HKLM > built-in default), 79/79 test suites green in both pipeline modes.

Read release notes

Version history

Version Updated Notes
1.0.7.1 Unknown v1.0.7.1-alpha: cosmetic version-display fixes. `cshw --version` now prints "C-Shell for Windows version 1.0.7.1" and exits (previously fell into REPL mode -- noticed by the winget validator). The `ver` / `version` built...
1.0.7.0 Unknown v1.0.7.0-alpha: concurrent pipelines. Each segment of `a | b | c` runs on its own thread with bounded Win32 pipes between adjacent stages. Streaming early-termination -- `seq 1 10000000 | head -1` now stops the producer...