• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Install, Configure ZSH on Windows 10 : Get UNIX Looking Terminal

By Abhishek Ghosh December 26, 2017 8:02 am Updated on December 26, 2017

Install, Configure ZSH on Windows 10 : Get UNIX Looking Terminal

Advertisement

Normally we talk how to decorate iTerm2 on Mac with Homebrew, ZSH. In case you lack idea about terminal emulators, read this article on terminal emulator, Terminal.

This guide is on how to install, configure ZSH on Windows 10 to get UNIX looking terminal i.e. like iTerm2 on Mac. Packages, Themes, Plugins, Config Files are essentially the same. You already need working Windows Subsystem for Linux on your system. For that, go to [Settings] > [Update and Security] > [For developers] and change Sideload apps setting to Developer mode. Next, open command prompt and go to OptionalFeatures.exe and enable Windows Subsystem for Linux (Beta). Reboot your computer. After reboot, you need to open command prompt and use bash command. Automatic downloading and installation of Linux Subsystem will start only by accepting some stuffs. We have three Linux distributions in Windows Store to choose from and we will prefer Ubuntu. Ubuntu will have aptitude package management. MacOS X has nothing, that’s why we use HomeBrew. For Linux, it’s GNU Linux version Linux Brew exists. We will not show Linux Brew installation. We will show :

  1. Installation & Tweak of ZSH (actually Oh-My-ZSH)
  2. Installation & Tweak of Hyper Terminal

At end, your Windows 10 may be referred as “Ubuntu Server” for our various guides.

Advertisement

---

 

Install, Configure ZSH on Windows 10 : Get UNIX Looking Terminal

 

Install, Configure ZSH on Windows 10 Get UNIX Looking Terminal

Open your that bash Terminal. Run :

Vim
1
2
3
4
5
6
7
8
9
sudo apt-get install curl
# install git
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
# install zsh
sudo apt-get install zsh
# install oh-my-zsh
curl -L https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | bash

I kept needed files on my this GitHub project (you’ll need for config files of this guide).

Find .bashrc from the above repository. Open your .bashrc :

Vim
1
nano ~/.bashrc

and make like mine. Then reload :

Vim
1
source ~/.bashrc

Go to official hyper terminal website and download latest version of terminal for Windows :

Vim
1
https://hyper.is/

After installing Hyper Terminal, open %USERPROFILE%/.hyper.js` config file from Menu > [Edit] > [Preferences…] and replace line:

Vim
1
shell: '',

with

Vim
1
shell: 'C:WindowsSystem32bash.exe',

If you run :

Vim
1
zsh

you’ll switch to ZSH. If you run :

Vim
1
bash

you’ll switch to bash. For ZSH, install Oh-My-ZSH plugin as example plugin :

Vim
1
2
3
4
5
6
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
<pre>
 
Run :
 
<pre>nano ~/.zshrc

Make the appropiate line in that file like :

Vim
1
plugins=(git zsh-syntax-highlighting)

Then reload :

Vim
1
source ~/.zshrc

In case of Mac, we use iTerm2. On Windows, we are using Hyper Terminal. ZSH has lot of themes :

Vim
1
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

ZSH has lot of plugins too. You can use anything to decorate.

Hyper Terminal also has lot of stuffs :

Vim
1
https://github.com/bnb/awesome-hyper

If you copy my hyper.js from GitHub, you’ll get this :

Vim
1
https://github.com/equinusocio/hyper-material-theme

Tagged With zsh windows 10 , linux subsystem for windows zsh , best terminal windows zsh , zsh in windows 10 , setting zsh theme windows 10 , zsh windows terminal beautiful , install zsh plugins widows , install zsh on windows 10 , custom windows hyperterminal , configure zsh

This Article Has Been Shared 646 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install, Configure ZSH on Windows 10 : Get UNIX Looking Terminal

Actually a list should normally appear here. Automated calculation failed.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Corona Pandemic as Cloud Adoption Driver April 20, 2021
  • How to Save Electricity Consumption During the Pandemic April 20, 2021
  • Best Powerpoint Templates for Communicating IoT Concepts April 17, 2021
  • How to Build a DIY Water Level Indicator? April 16, 2021
  • How Startups Can Convince the Investors April 14, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Install, Configure ZSH on Windows 10 : Get UNIX Looking Terminal," in The Customize Windows, December 26, 2017, April 22, 2021, https://thecustomizewindows.com/2017/12/install-configure-zsh-windows-10-get-unix-looking-terminal/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy