{"id":804,"date":"2023-02-13T02:28:04","date_gmt":"2023-02-13T02:28:04","guid":{"rendered":"https:\/\/formatswap.com\/blog\/?p=804"},"modified":"2023-02-13T02:28:07","modified_gmt":"2023-02-13T02:28:07","slug":"how-to-install-and-configure-oh-my-zsh-in-linux","status":"publish","type":"post","link":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/","title":{"rendered":"How to Install and Configure Oh My Zsh in Linux"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1024x576.jpg\" alt=\"ohmyzsh splash\" class=\"wp-image-953\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1024x576.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-300x169.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-768x432.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1536x864.jpg 1536w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Using this tutorial you will learn how to install the popular bash shell alternative Oh My Zsh. Most Linux systems come preinstalled with the bash shell. Oh My Zsh adds many features compared to what you would find in this shell. Integrating Oh My Zsh into your workflow can provide numerous benefits. It&#8217;s easy to install, customize, and use, making it a must have tool for anyone looking to optimize their terminal experience. This will optimize and improve the speed and efficiency of your terminal based workflow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of Oh My Zsh<\/h2>\n\n\n\n<p>One of the main benefits is spelling correction. While the standard bash shell offers this feature, Oh My Zsh does more efficiently and accurately. Another reason to use Oh my Zsh is the ability to easily install custom themes. There are hundreds of pre-built themes available for download on the projects GitHub page. Theming is also possible in the standard bash shell, however you are limited in the amount of customization you can easily achieve. The primary reason I recommend people switch to Oh My Zsh is its advanced command history ability. You can customize the shells history to your specific liking. This makes re-running past commands indefinitely easier. Don&#8217;t miss out on the chance to enhance your terminal with Oh My Zsh.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Update and Upgrade<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"878\" height=\"629\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/1-update.jpg\" alt=\"update system\" class=\"wp-image-1042\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/1-update.jpg 878w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/1-update-300x215.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/1-update-768x550.jpg 768w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/figure>\n\n\n\n<p>In this tutorial I will be using Ubuntu 22.04 to install the shell. However any Linux distribution that supports bash will support installing Oh My Zsh.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sudo apt update &amp;&amp; sudo apt upgrade<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Download and Install Curl<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"881\" height=\"615\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/2-install-curl.jpg\" alt=\"install curl\" class=\"wp-image-1043\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/2-install-curl.jpg 881w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/2-install-curl-300x209.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/2-install-curl-768x536.jpg 768w\" sizes=\"auto, (max-width: 881px) 100vw, 881px\" \/><\/figure>\n\n\n\n<p>Next you will need to install the application curl. This will allow us to download and install Oh My Zsh using a curl command.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sudo apt install curl<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Download and Install Zsh<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"879\" height=\"485\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/3-install-zsh.jpg\" alt=\"install zsh\" class=\"wp-image-1044\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/3-install-zsh.jpg 879w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/3-install-zsh-300x166.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/3-install-zsh-768x424.jpg 768w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/figure>\n\n\n\n<p>After installing curl you need to download the base zsh shell program. Install it by running the following apt command.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sudo apt install zsh<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Installation Options<\/h2>\n\n\n\n<p>You are able to install Oh My Zsh using either the wget, fetch, or curl command. In this example I will be using wget. Use whichever method you prefer and run the command.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">wget:<\/h3>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sh -c \"$(wget -O- https:\/\/raw.githubusercontent.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">fetch:<\/h3>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sh -c \"$(fetch -o - https:\/\/raw.githubusercontent.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">curl:<\/h3>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sh -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Download Oh My Zsh<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"875\" height=\"546\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/5-install-oh-my-zsh-and-change-to-default-shell.jpg\" alt=\"download ohmyzsh\" class=\"wp-image-1046\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/5-install-oh-my-zsh-and-change-to-default-shell.jpg 875w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/5-install-oh-my-zsh-and-change-to-default-shell-300x187.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/5-install-oh-my-zsh-and-change-to-default-shell-768x479.jpg 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n\n<p>After running the command to download Oh My Zsh you will need to change it to your default shell. Type &#8220;y&#8221;, then press &#8220;Enter&#8221; to confirm the change.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sh -c \"$(wget -O- https:\/\/raw.githubusercontent.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Installation Successful<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"868\" height=\"453\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/6-install-sucessful.jpg\" alt=\"zsh successful install\" class=\"wp-image-1047\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/6-install-sucessful.jpg 868w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/6-install-sucessful-300x157.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/6-install-sucessful-768x401.jpg 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/figure>\n\n\n\n<p>You will see the following screen after Oh My Zsh finishes the installation process. The shell is almost ready for use. We just need to verify the installation and make a few edits to the zshrc configuration file. Press &#8220;Ctrl+C&#8221; twice to exit the Oh My Zsh installer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the Zsh Installation<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"204\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/7-verify-zsh-version-1024x204.jpg\" alt=\"verify zsh\" class=\"wp-image-1071\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/7-verify-zsh-version-1024x204.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/7-verify-zsh-version-300x60.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/7-verify-zsh-version-768x153.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/7-verify-zsh-version.jpg 1333w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Run the &#8220;zsh &#8211;version&#8221; command and verify that you have zsh 5.8 or newer.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>zsh --version<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Set Default Shell to Zsh<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"185\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/8-verify-default-shell-1024x185.jpg\" alt=\"set shell to zsh\" class=\"wp-image-1072\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/8-verify-default-shell-1024x185.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/8-verify-default-shell-300x54.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/8-verify-default-shell-768x139.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/8-verify-default-shell.jpg 1333w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Set zsh as the default shell using the &#8220;chsh&#8221; command.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>chsh -s $(which zsh)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Logout to Apply Changes<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"251\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/9-logout-of-system-1024x251.jpg\" alt=\"logout linux\" class=\"wp-image-1073\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/9-logout-of-system-1024x251.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/9-logout-of-system-300x74.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/9-logout-of-system-768x189.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/9-logout-of-system.jpg 1332w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now you will need to logout of your user account to apply the new changes. Run the &#8220;pkill&#8221; command below. Once you have logged out, log back in and reopen your terminal.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>sudo pkill -SIGKILL -u &#91;your username]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verify Current Shell<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"188\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/10-verify-shell-is-zsh-1024x188.jpg\" alt=\"verify current shell\" class=\"wp-image-1074\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/10-verify-shell-is-zsh-1024x188.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/10-verify-shell-is-zsh-300x55.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/10-verify-shell-is-zsh-768x141.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/10-verify-shell-is-zsh.jpg 1335w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next verify that your shell is set to zsh using the command below. You should see &#8220;\/usr\/bin\/zsh&#8221; as the commands output.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>echo $SHELL<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verify Shell Version<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"158\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/11-verify-shell-version-1024x158.jpg\" alt=\"verify shell version\" class=\"wp-image-1075\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/11-verify-shell-version-1024x158.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/11-verify-shell-version-300x46.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/11-verify-shell-version-768x118.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/11-verify-shell-version.jpg 1332w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now verify that the correct version of zsh is set as your default shell.  You should see version 5.8 or newer.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>$SHELL --version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Open the Oh My Zsh Config File<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"730\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/12-open-zshrc-1024x730.jpg\" alt=\"nano ~\/.zshrc\" class=\"wp-image-1077\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/12-open-zshrc-1024x730.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/12-open-zshrc-300x214.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/12-open-zshrc-768x548.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/12-open-zshrc.jpg 1331w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next we will customize the shell using the &#8220;.zshrc&#8221; file located in the home directory. Open the Oh My Zsh configuration file using the command below.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>nano ~\/.zshrc<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Set a Oh My Zsh Theme<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"729\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/13-set-theme-1024x729.jpg\" alt=\"set a theme oh my zsh\" class=\"wp-image-1078\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/13-set-theme-1024x729.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/13-set-theme-300x214.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/13-set-theme-768x547.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/13-set-theme.jpg 1334w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now you will want to set a theme. Locate the &#8220;ZSH_THEME&#8221; and modify it to the theme name of your choice. Above I have set my theme to &#8220;agnoster&#8221; as it is one of my personal favorites. You can view the full list of available themes to choose from on the <a href=\"https:\/\/github.com\/ohmyzsh\/ohmyzsh\/wiki\/Themes\">Oh My Zsh Github page<\/a>. Save the file when you are finished with your changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Apply the Configuration<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"171\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/14-source-save-file-1024x171.jpg\" alt=\"source the zshrc config file\" class=\"wp-image-1082\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/14-source-save-file-1024x171.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/14-source-save-file-300x50.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/14-source-save-file-768x129.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/14-source-save-file.jpg 1332w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once you are finished editing the zshrc config file you will need to apply the changes. Run the command below, then reopen your terminal.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-cyan-blue-color has-black-background-color has-text-color has-background\"><code>source ~\/.zshrc<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Verify Oh My Zsh Theme<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"236\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/15-oh-my-zsh-installed-1024x236.jpg\" alt=\"test theme\" class=\"wp-image-1083\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/15-oh-my-zsh-installed-1024x236.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/15-oh-my-zsh-installed-300x69.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/15-oh-my-zsh-installed-768x177.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/02\/15-oh-my-zsh-installed.jpg 1330w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If everything worked correctly you will see your new theme. You have now successfully installed Oh My Zsh, and configured a theme. If you are interested in adding plugins to echance your shells experience even further, visit the plugins page on the <a href=\"https:\/\/github.com\/ohmyzsh\/ohmyzsh\/wiki\/Plugins\">Oh My Zsh Wiki<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In conclusion, with the help of this article you now have the tools to effortlessly set up and customize Oh My Zsh in your Linux environment. Say goodbye to mundane terminal sessions and hello to a more productive, customizable, and user-friendly shell experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Questions?<\/h2>\n\n\n\n<p>If you have any questions or comments feel free to leave them below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Recommended By Our Editors<\/h2>\n\n\n\n<p>View our <a href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/5-reasons-to-switch-from-windows-10-to-linux\/\">5 Reasons to Switch from Windows 10 to Linux<\/a><a href=\"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/\">.<\/a><\/p>\n\n\n\n<p>Learn <a href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-configure-a-firewall-in-linux-using-ufw\/\">How to Configure a Firewall in Linux using UFW.<\/a><\/p>\n\n\n\n<p>Check out <a href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-setup-openssh-with-keys-on-ubuntu-22-04\/\">How to Setup OpenSSH with Keys on Ubuntu 22.04.<\/a><\/p>\n\n\n\n<p>View our <a href=\"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/deep-learning-image-style-transfer-tutorial-using-neural-style-pt\/\"><a href=\"https:\/\/formatswap.com\/blog\/wp-admin\/post.php?post=6&amp;action=edit\">Deep Learning Image Style Transfer Tutorial Using Neural Style Pt<\/a><\/a> tutorial.<\/p>\n\n\n\n<p>Learn <a href=\"https:\/\/formatswap.com\/blog\/windows-tutorials\/how-to-create-a-mapped-network-drive-in-windows-10\/\">How to Create a Mapped Network Drive in Windows 10.<\/a><\/p>\n\n\n\n<p>View all of our available online tools and converters at <a href=\"https:\/\/formatswap.com\" target=\"_blank\" rel=\"noreferrer noopener\">Formatswap.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using this tutorial you will learn how to install the popular bash shell alternative Oh My Zsh. Most Linux systems come preinstalled with the bash shell. Oh My Zsh adds many features compared to what you would find in this shell. Integrating Oh My Zsh into your workflow can provide numerous benefits. It&#8217;s easy to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[4],"tags":[8,14],"class_list":["post-804","post","type-post","status-publish","format-standard","hentry","category-linux-tutorials","tag-linux","tag-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install and Configure Oh My Zsh in Linux - Format Swap - Tech Tutorials<\/title>\n<meta name=\"description\" content=\"Learn how to install the popular bash shell alternative Oh My Zsh using Ubuntu. Ozh adds plugins, themes, and more to your shell experience.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure Oh My Zsh in Linux - Format Swap - Tech Tutorials\" \/>\n<meta property=\"og:description\" content=\"Learn how to install the popular bash shell alternative Oh My Zsh using Ubuntu. Ozh adds plugins, themes, and more to your shell experience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Format Swap - Tech Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-13T02:28:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-13T02:28:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1024x576.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d01ee8e1e4f3718cfcc57eeb8ad6188\"},\"headline\":\"How to Install and Configure Oh My Zsh in Linux\",\"datePublished\":\"2023-02-13T02:28:04+00:00\",\"dateModified\":\"2023-02-13T02:28:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/\"},\"wordCount\":855,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/oh-my-zsh-tut-1024x576.jpg\",\"keywords\":[\"linux\",\"tutorial\"],\"articleSection\":[\"Linux Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/\",\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/\",\"name\":\"How to Install and Configure Oh My Zsh in Linux - Format Swap - Tech Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/oh-my-zsh-tut-1024x576.jpg\",\"datePublished\":\"2023-02-13T02:28:04+00:00\",\"dateModified\":\"2023-02-13T02:28:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d01ee8e1e4f3718cfcc57eeb8ad6188\"},\"description\":\"Learn how to install the popular bash shell alternative Oh My Zsh using Ubuntu. Ozh adds plugins, themes, and more to your shell experience.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/oh-my-zsh-tut.jpg\",\"contentUrl\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/oh-my-zsh-tut.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/linux-tutorials\\\/how-to-install-and-configure-oh-my-zsh-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Configure Oh My Zsh in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/\",\"name\":\"Format Swap - Tech Tutorials\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d01ee8e1e4f3718cfcc57eeb8ad6188\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/formatswap.com\\\/blog\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCsIPLkRPTbbTaT8YX0Dh2-A\"],\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install and Configure Oh My Zsh in Linux - Format Swap - Tech Tutorials","description":"Learn how to install the popular bash shell alternative Oh My Zsh using Ubuntu. Ozh adds plugins, themes, and more to your shell experience.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure Oh My Zsh in Linux - Format Swap - Tech Tutorials","og_description":"Learn how to install the popular bash shell alternative Oh My Zsh using Ubuntu. Ozh adds plugins, themes, and more to your shell experience.","og_url":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/","og_site_name":"Format Swap - Tech Tutorials","article_published_time":"2023-02-13T02:28:04+00:00","article_modified_time":"2023-02-13T02:28:07+00:00","og_image":[{"url":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1024x576.jpg","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#article","isPartOf":{"@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/"},"author":{"name":"admin","@id":"https:\/\/formatswap.com\/blog\/#\/schema\/person\/3d01ee8e1e4f3718cfcc57eeb8ad6188"},"headline":"How to Install and Configure Oh My Zsh in Linux","datePublished":"2023-02-13T02:28:04+00:00","dateModified":"2023-02-13T02:28:07+00:00","mainEntityOfPage":{"@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/"},"wordCount":855,"commentCount":0,"image":{"@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1024x576.jpg","keywords":["linux","tutorial"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/","url":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/","name":"How to Install and Configure Oh My Zsh in Linux - Format Swap - Tech Tutorials","isPartOf":{"@id":"https:\/\/formatswap.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut-1024x576.jpg","datePublished":"2023-02-13T02:28:04+00:00","dateModified":"2023-02-13T02:28:07+00:00","author":{"@id":"https:\/\/formatswap.com\/blog\/#\/schema\/person\/3d01ee8e1e4f3718cfcc57eeb8ad6188"},"description":"Learn how to install the popular bash shell alternative Oh My Zsh using Ubuntu. Ozh adds plugins, themes, and more to your shell experience.","breadcrumb":{"@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#primaryimage","url":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut.jpg","contentUrl":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/oh-my-zsh-tut.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-and-configure-oh-my-zsh-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/formatswap.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Configure Oh My Zsh in Linux"}]},{"@type":"WebSite","@id":"https:\/\/formatswap.com\/blog\/#website","url":"https:\/\/formatswap.com\/blog\/","name":"Format Swap - Tech Tutorials","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/formatswap.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/formatswap.com\/blog\/#\/schema\/person\/3d01ee8e1e4f3718cfcc57eeb8ad6188","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/formatswap.com\/blog","https:\/\/www.youtube.com\/channel\/UCsIPLkRPTbbTaT8YX0Dh2-A"],"url":"https:\/\/formatswap.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts\/804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/comments?post=804"}],"version-history":[{"count":5,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts\/804\/revisions"}],"predecessor-version":[{"id":1087,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts\/804\/revisions\/1087"}],"wp:attachment":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/media?parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/categories?post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/tags?post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}