How to Update Oh-My-ZSH

Antoni Florit
2 min readJan 16, 2024

Recently I have been curious to upgrade Oh-my-zsh after almost two years of installing it.
After feeling this curiosity I decided to investigate the subject and now that I know how to do it I decided to make this post.

How to Update Oh-My-ZSH?

To update oh-my-zsh there are several ways. We will describe each of them, so that you can choose the one you feel better with.

Manual update

Oh-my-zsh comes with its own command-line utility omz. You can manually run an oh-my-zsh update using omz update:

omz update

This command will start the Oh-my-zsh update process.

Automatic Update

By default, you will be prompted to check for updates every 2 weeks. You can choose other update modes by adding a line to your ~/.zshrc file, before Oh My Zsh is loaded:

  • Automatic update without confirmation prompt:
zstyle ':omz:update' mode auto
  • Just offer a reminder every few days, if there are updates available:
zstyle ':omz:update' mode reminder

To disable automatic updates entirely:

zstyle ':omz:update' mode disabled

--

--