Last active
January 9, 2026 16:09
-
-
Save YounesNAJA/1df03424edd2035315781429ae32964c to your computer and use it in GitHub Desktop.
Installing my customized iTerm2 + Oh-My-Zsh on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Install iTerm2 | |
| brew install --cask iterm2 | |
| # Install Zsh | |
| brew install zsh | |
| # Install Oh-My-Zsh | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| # Upgrade it to get latest features | |
| upgrade_oh_my_zsh | |
| # Install powerlevel10k theme | |
| git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
| # Download fonts : https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k | |
| # Get Docker plugin | |
| git clone https://github.com/zsh-users/zsh-docker.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-docker | |
| # Get zsh-autosuggestions plugin | |
| git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
| # Get zsh-syntax-highlighting plugin | |
| git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting | |
| # Configuration : | |
| # vi ~/.zshrc | |
| # Change default theme | |
| # ZSH_THEME="powerlevel10k/powerlevel10k" | |
| # Add Docker plugin | |
| # plugins=(git docker zsh-autosuggestions zsh-syntax-highlighting) | |
| # Add command alias | |
| # alias mycommand="vi ~/.zshrc" | |
| # Reload configuration | |
| # source ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment