winzsh Docs
WINZSH MANUAL

Getting started

winzsh is an interactive shell for Windows 11 x64 that lets you use Windows paths and commands with a familiar bash- or zsh-like feel. It does not require WSL or MSYS.

Running ls and git status in winzsh

Try winzsh

Navigate using Windows paths. This example starts in C:\. Quote paths that contain spaces and write backslashes as they are. Use cd - to go back to the previous directory. The prompt updates to show where you are.

C:\> cd "C:\Program Files"
C:\Program Files> pwd
C:\Program Files
C:\Program Files> cd -
C:\
C:\>

Pipe one Windows command into another. tasklist.exe lists running processes, and findstr.exe filters the list to the Windows Explorer entry. The process ID and memory usage will vary.

C:\> tasklist.exe | findstr.exe /i explorer.exe
explorer.exe                  9000 Console                    6    468,016 K
C:\>

Complete with Tab and recall with ↑. Type wher and press Tab to complete where followed by a space. Then type cmd.exe and press Enter to find its path. At the next prompt, press ↑ and then Enter to run the same command again.

C:\> where cmd.exe
C:\Windows\System32\cmd.exe
C:\> where cmd.exe
C:\Windows\System32\cmd.exe
C:\>

Install from GitHub Releases

  1. Choose a version on winzsh GitHub Releases. Releases marked Pre-release are development builds.
  2. Download winzsh-windows-x64.zip from Assets and extract it to a folder of your choice.
  3. Open PowerShell in the folder containing the extracted winzsh.exe and run .\winzsh.exe. When you see the working directory followed by >, you can enter winzsh commands.

To add winzsh as a Windows Terminal profile, set the profile's Command line to the absolute path to the extracted winzsh.exe.

Update winzsh

Open PowerShell in the folder where you extracted winzsh and run the following commands. --check only reports the available update; it does not download a ZIP or change any files.

.\winzsh.exe self update --check
.\winzsh.exe self update
.\winzsh.exe --version

winzsh looks for a newer version on the official GitHub Releases page. A stable build considers only stable releases; a development build also considers prereleases. Updating requires internet access and permission to write to the folder.

The updater replaces only the executable you invoked. It verifies the ZIP's SHA-256 checksum and the version of the executable inside it first. Any open winzsh sessions keep running as before; the new version takes effect the next time you launch it.

The old executable is saved as a .bak file in the same folder. The updater displays its path. To roll back, exit all winzsh sessions, rename the new executable, then rename the backup to the original filename. You can delete the backup when you no longer need it.

Next steps