C Shell for Windows

Tropibyte, Inc. · Tropibyte.cshw

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.

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 .ps1 scripts unchanged. The bc/dc commands offer arbitrary-precision arithmetic with an opt-in exact-rational tier (bc -x) including complex numbers and small exact matrices. As of 1.0.7.0, pipelines run on parallel threads with streaming early-termination; set pipemode = sequential restores the previous semantics. Ships with a 21-chapter user guide.

winget install --id Tropibyte.cshw --exact --source winget

Latest 1.0.7.1

Release Notes

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.

Installer type: inno

Architecture Scope Download SHA256
x64 Download 4D7EFB291C2E76C2C43A636E240FD6C918589B37D1935AF014864980D2F7409E

Details

Homepage
https://www.tropibyte.com/cshw.html
License
PolyForm Small Business 1.0.0
Publisher
Tropibyte, Inc.
Support
https://www.tropibyte.com/bugs.html
Privacy Policy
https://www.tropibyte.com
Copyright
Copyright (c) 2024-2026 Tropibyte, Inc.
Moniker
cshw

Tags

shellcshtcshcommand-linecliterminalunixwin32scriptingdeveloper-tools

Older versions (1)

1.0.7.0
Architecture Scope Download SHA256
x64 Download A7007611811CF318DE2F330C8CCC502717EEBF8DB4A8EDBDEA76FA8F91416BA9