How to make a nice terminal in MacOS.

QUANG NHAT TRAN
Nerd For Tech
Published in
4 min readJul 23, 2021

--

Standard MacOs is boring, let make a new terminal with more feature with nice looking.

Make sure you have install Xcode:

Then you need to install brew using standard mac terminal.

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

After successfully install, you can now install iterm2 with the command below.

brew install — cask iterm2

Your install will be success if you see the message below.

iTerm will have a color scheme set for you to upload to iTerm. You can able to download the scheme via this url below. Extract and use folder schemes.

https://github.com/mbadolato/iTerm2-Color-Schemes

Now open iTerm.

From top left of iTerm select the Preferences.

Let select Profile Tab, and sub-tab Colors. At the color Presets drop down select import option.

You can select all schemes or few as you wish.

In my case, i select all, and wait for a moment for importing completely. I can able to see a lot of color scheme to select.

Next, font will be needed. You can download all font from this url below. Extract and install with command line.

You can able to change font via this menu.

Continue with installing Zsh and Oh my Zsh.

brew install zsh zsh-completions

sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

You need to load themes to oh my zsh

±Theme 10k

git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k

±Theme 9k

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

At this step you already have zsh and oh my zsh, however we still need to custom the .zshrc profile.

We modified like the pictures below.

Then run

If the plugin not found go to https://github.com/zsh-users find the available plugin and run the command like these below.

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-completions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions

Finally, my current terminal look like this.

You can also continue to custom your terminal with nerd font and power10k.

However, too much font and too much customizations will make your terminal slow down.

Thank you for reading.

pls support additional learning course:

https://9938dgukren0ep916komgju68k.hop.clickbank.net https://c9d00j1opapvit43y3ygkmnd7z.hop.clickbank.net https://08209ntmlez06s66b-s5m2vb1q.hop.clickbank.net https://5a3f0i1mlep-8namu8m-t2od6x.hop.clickbank.net https://fe914fudd5v1cx61q5rev-yzya.hop.clickbank.net

--

--

QUANG NHAT TRAN
Nerd For Tech

Certified Mendix Expert MVP, Data Scientist, and Technical Practitioner @ TBN Software