In this article, we are going to show you how to install Cygwin + Oh My ZSH and configuration on windows which gives a consistent cross-platform terminal experience on Windows.
Cygwin gives you comfortable when your web development workflow use git, node, npm, docker, wp-cli, etc.
In the end of this article, you will be able to use Cygwin with ZSH with this awesome theme.
Step #1: Installation Cygwin
- Download Cygwin https://cygwin.com/install.html
- Choose A Download Source:
Install from Internet
- Select Root Install Directory: for me I select
- Install For All Users
- Select Local Package Directory:
- Select Your Internet Connection:
- Choose A Download Site:
This mirror was reliable for me. They should generally all be up to date. It is recommended that you select a mirror site that is closest to you. Visit the Cygwin Mirror Sites page for more information.
- curl: Muti-protocol file transfer tool
- fzf-zsh: fzf key bindings for Z shell
- fzf-zsh-completion: fzf completion for Z shell
- git: Distributed version control system
- gitk: Git repository browser
- zsh: The Z-Shell
- wget: utility to retrieve files from the WWW via HTTP and FTP
Step #2: Install Oh My ZSH
Launch Cygwin and install Oh My ZSH using curl
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Step #3: Theme Configuration
For text, I have the Powerline fonts installed on my system.
- download PixelDima zsh-theme from here and replace it with
cygwin\home\USER\and replace it with this configuration.
Font=Inconsolata-dz for Powerline
So, that’s all about it. There’s still a lot that you can do with Cygwin. It all depends on your choice and needs. It was a beginner-focused article to help you set up Cygwin with zsh in Windows and start customizing it.
If you have any questions, tips, or thoughts feel free to share in the comment box below.