Skip to main content
Oh My Zsh is a framework for managing your Zsh configuration, making it easier to customize your shell experience.
1

Install curl (if not installed)

First, ensure curl is installed on your system:
sudo apt install curl -y
2

Run Oh-My-Zsh install script

Download and run the Oh My Zsh installation script:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
This script will:
  • Download Oh My Zsh
  • Create a backup of your existing Zsh configuration
  • Install Oh My Zsh with default settings
3

Restart terminal

Close and reopen your terminal to see the new Oh My Zsh configuration in action.
4

Verify installation

Check that Oh My Zsh is working by looking for:
  • A new prompt theme (usually colorful)
  • Enhanced tab completion
  • Git status in your prompt (if in a git repository)
You can also check your Zsh configuration:
cat ~/.zshrc | head -20

Customizing Oh My Zsh

Change theme

Edit ~/.zshrc and change the ZSH_THEME variable:
ZSH_THEME="agnoster"

Install plugins

Add plugins to your ~/.zshrc:
plugins=(git docker npm node)

Reload configuration

After making changes:
source ~/.zshrc
  • agnoster - Popular theme with git info
  • robbyrussell - Default theme
  • powerlevel10k - Fast and feature-rich (requires separate installation)

Next Steps

Now that Oh My Zsh is installed, you can:
  • Customize your prompt theme
  • Install useful plugins
  • Configure aliases and functions
  • Enhance your shell productivity

Build docs developers (and LLMs) love