block-quote On this pagechevron-down
copy Copy chevron-down
101 - Dev Environment Setup on Mac iTerm2 Env Setup on Mac in 10 Minutes On macOS Big Sur, using iTerm2, oh-my-zsh, nerd-fonts, powerlevel10k, iTerm2-Color-Schemes, and plenty plugins like autojump zsh-autosuggestions zsh-syntax-highlighting
If you like the following iTerm2 style, you are at the right place. I will show you how to get this setup in 10 min.
Install ohmyzsh
Reference: https://github.com/ohmyzsh/ohmyzsharrow-up-right
Install Homebrew
The simplest way to install iTerm2 is to download and unzip it: https://iterm2.com/downloads.htmlarrow-up-right
Install nerd-fonts
Clone the repo:
Switch to the nerd-fonts folder and run:
Install powerlevel10k
just clone the repo to the ohmyzsh themes folder:
change the theme to powerlevel10k:
setup the plugins:
Install autojump
After visiting directories, use j -s to check the weights:
Use j <dir> to jump to a directory with highest weight:
Find more by using:
Install zsh-autosuggestions
Install zsh-syntax-highlighting
Don't forget to call
Now open a new iTerm and follow the wizard to configure the theme, if the wizard is not started automatically, type p10k configure.
Reference: https://github.com/romkatv/powerlevel10k#oh-my-zsharrow-up-right
Clone iTerm2-Color-Schemes
Go to iTerm->Preferences->Profiles->Colors, you can import color schemes from iTerm2-Color-Schemes/scheme. I personally recommend "Chester".
Go to iTerm->Preferences->Profiles->Text, you can change the font