brew install --cask iterm2
Themes can be found here.
Personally, I use Dracula - link to the file: here.
To download the theme you can either:
- clone the repo
git clone https://github.com/dracula/iterm.git
- download as zip
https://github.com/dracula/iterm/archive/master.zip
- create an empty file (it must have
.itermcolors
extension) and then insert the theme as text.
Then to import it into iterm you need to open iterm and go to iTerm2 (top left)
⇒ Preferences...
⇒ Profiles
⇒ Colors
⇒ Color Presets...
⇒ Import...
⇒ Open the *.itermcolors
file ⇒ Open Color Presets...
again and choose the theme from the dropdown menu.
If you want to read what Oh My Zsh is, then you can do so here.
Install using this:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Then you can choose which theme you want to be using, Oh My Zsh offers a lot of themes that you can choose from.
You can choose the theme by opening ~/.zshrc
in a text editor and overriding the ZSH_THEME=""
property to the theme you want to be using.
I personally use the agnoster theme.
# You can open the file in vim or nano
vim ~/.zshrc
nano ~/.zshrc
# Change ZSH_THEME="..." to (in my case) ZSH_THEME="agnoster".
If the theme uses some characters that the default font does not support you will need to change the font. The best font imho is Fira Code that you can install by following these instructions.
Then you need to select this font by opening iTerm ⇒ iTerm2 (top left) ⇒
Preferences...⇒
Profile⇒
Text` ⇒ at the bottom change the font.
You can also install Oh My Zsh plugins, such as: