Installing Zsh on Windows 11
August 09, 2026

I recently had to set up a new Windows 11 environment and decided to document the steps needed to install Zsh since I will inevitably forget the next time this happens:

  1. Install git bash and note the installation directory
    (C:/Program Files/Git).
  2. Download zsh and extract the
    etc/
    and
    usr/
    directories into the installed
    Git
    directory. Note: Windows 11 supports Zstandard decompression so there's no longer a need to use other archive software.
  3. Add the following to
    .bashrc
    in the user home directory:
        if [ -t 1 ]; then
        exec zsh
    fi
    
Optional:
  • Install oh-my-zsh.
  • Install Windows Terminal Preview and set it as the default terminal in its settings with git bash as the default profile.
  • Install the Cascadia Code font that includes a native Nerd Font so that all fonts in Zsh themes like Powerline10k show correctly.
That's it! Installing Zsh on Windows 11 is a relatively straightforward process compared to previous versions of Windows.