Set Up CUI Environment of iTerm and Zsh for New Mac

New Mac

I love CUI, commands, the world of characters. And I got a new pc of OS X because of an internship of Cyber Agent I joined this summer. So I set up comfortable environment for nice CUI life by iTerm and zsh.



First, I installed iTerm from the URL below.

That is nicer than default terminal of OS X, I guess. That is very customizable.

Theme Color

iTerm has a lot of color themes. You can access the repository fro the URL below.

iTerm2-Color-Shemes is very cool and easy tool. The is really easy to understand and follow the introduction. I could install that easily.

I chose Espresso. That theme is not bright so I prefer.


zsh is a kind of shell. The default shell of OS X is bash. bash is also great (the author looks so strong but zsh is nice for geeks who want to customize a shell easily and well.

First installed Homebrew to install other programs.

ruby -e "$(curl -fsSL"

And installed zsh by brew command.

$ brew install zsh

You can change the default shell if you want.

$ chsh -s /usr/local/bin/zsh

And I really want to reccomend oh-my-zsh. That is really easy tool to set many plugins and cool theme for zsh.

You can clone the repository and set up by the commands below.

% git clone git:// ~/.oh-my-zsh
% cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

Set the theme by editing ~/.zshrc file. I chose a theme, avit.

export ZSH_THEME="robbyrussell"  

All themes are in ~/.oh-my-zsh/themes/ and also check here:


That is all! CUI is really useful and fun. Let’s enjoy it.