How to Install Oh My Zsh on a Mac |

Want to try Oh My Zsh in your terminal? Oh My Zsh is a popular zsh configuration manager, which offers a multitude of themes, functions, helpers, plugins and other useful functions for command line users. It is widely used by many who spend a lot of time in the command line, whether for development, administration or just walking, so if you are in these categories you may find it worth checking out.

Although zsh is now the default shell in the Terminal app for modern editions of macOS, Oh My Zsh is separate, so it must be installed and configured separately.

To get started, launch Terminal, located in the / Applications / Utilities / folder on your Mac (or you can launch Terminal from Spotlight by pressing Command + Spacebar and typing “Terminal”, then pressing the Return key). You will then need to execute the following set of commands:

sh -c "$(curl -fsSL"

Copy, paste and press return with that syntax at the terminal prompt and you’re done.

(Note: Common security warnings should be applied to execute remotely downloaded shell scripts, and although Oh My Zsh is a very popular open source project, the security of your device is ultimately your responsibility. If you’re not sure, check the .sh installation yourself file to make sure you are comfortable with what is going on behind the scenes.You can always get the latest installer from the github project page at

You’ll be asked if you want to make Oh My Zsh the default shell, then press “Y” if yes, or “N” if no – you’ll probably want to press Y if you mind installing Oh My Zsh.

Oh My Zsh opens immediately after a successful installation, so if you’re familiar with it, let it be, otherwise you might find it helpful to review the OhMyZsh Wiki documentation for information on settings, add-ons, themes, customizations, and more.

If you come from bash or tsch, remember that zsh stores environment variables differently. Furthermore, zsh uses its own .zshrc unique configuration file.

This is just one of the many popular and useful command line tools for the Mac. If you’re interested in Oh My Zsh, you probably want to install the Homebrew package manager as well so you can easily get the world of unix tools on your Mac as well.

Don’t miss our other articles from the command line while dealing with the terminal (or iTerm2!).

Source link

Naveen Kumar

Friendly communicator. Music maven. Explorer. Pop culture trailblazer. Social media practitioner.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button