• 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
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

  • Run Bash Scripts on Windows 10 Via Git Bash To Launch Linux GUI App

    Run Bash Scripts on Windows 10 Via Git Bash. Git Bash Offers Integrity Options With Windows 10 Bash Making it Easy to Work on Both Windows & unix System.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • Windows Terminal With Solarized Dark Oh-my-ZSH Theme

    This is kind of Microsoft Windows version of our 8 years old guide on iTerm2, Homebrew and ZSH Installation on OS X. Windows 10 can not be made looking as great as Mac OS X iTerm2 but getting something closer looking is visually pleasing. It will consume many hours and days to get the thing […]

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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

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

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