Oh My ZSH Not Updating

Written by Michael Lee on September 22, 2014

I use Oh My ZSH as my terminal shell. From time to time, Oh My ZSH will ask if I want to update it. This morning when I got the prompt and said, “Yes”. I immediately got an error that looked like this:

[Oh My Zsh] Would you like to check for updates?
Type Y to update oh-my-zsh: y
Upgrading Oh My Zsh

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

There was an error updating. Try again later?

Turns out I was getting this error because the Command Line Tools for OS X were updated on my machine.

To fix this error, I simply had to fire up Xcode and accept the Xcode license. Doing so will require admin privileges. Once I had accepted the license, I ran upgrade_oh_my_zsh in Terminal and the upgrade ran without errors.

Thanks for taking the time to read this article. I'd love to stay in touch and share more tips on programming and design, side projects and working remotely. Sign up and I'll send you my articles straight to your email.

:wave: Hey hey, I'm Michael Lee! I really appreciate you taking the time to read this article.

Be sure to check out my other articles.