Skip to content

Instantly share code, notes, and snippets.

Created April 29, 2022 05:35
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Install ZSH on Windows via Git bash + Terminal

Install Latest ZSH

Optional Install PeaZip on Windows winget install -e --id GiorgioTani.PeaZip

CD to C:\Program Files\Git

  • extract all contents of zsh ..tar file to this folder
  • in side terminal type: zsh

Create config files

autoload -U zsh-newuser-install
zsh-newuser-install -f

Finally open notepad ~/.bashrc

  • Add to the top of the file
if [ -t 1 ]; then
  exec zsh

Install Plugins

git clone ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions
git clone ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-syntax-highlighting
git clone ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-autosuggestions
  • Now open notepad ~/.zshrc
  • And Add plugins under this section # Which plugins would you like to load?
plugins=(git lighthouse zsh-completions zsh-autosuggestions zsh-syntax-highlighting)



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment