{"id":5344,"date":"2022-06-14T15:18:58","date_gmt":"2022-06-14T07:18:58","guid":{"rendered":"https:\/\/www.jameseduard.com\/?p=5344"},"modified":"2022-06-14T15:18:58","modified_gmt":"2022-06-14T07:18:58","slug":"how-to-install-homebrew-on-macos","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=5344","title":{"rendered":"How to Install Homebrew on macOS"},"content":{"rendered":"\n\n\n<p class=\"wp-block-paragraph\">This article will help you how to install&nbsp;homebrew on macOS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Homebrew<\/strong>&nbsp;is a free and open-source software package management system that simplifies the installation of software on Apple&#8217;s operating system, macOS, as well as Linux.<br><br>1. To Install Homebrew on macOS, open a terminal and execute the command below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">ruby -e \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The installation process will prompt for the password. Just enter your password where required to complete the Homebrew installation. The process will take some time.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.jameseduard.com\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-2.58.01-PM.png?resize=690%2C361&amp;ssl=1\" alt=\"\" class=\"wp-image-5336\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the installation completed, execute the below command to check version.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">brew --version\nHomebrew 3.5.2-2-gedea67f\nHomebrew\/homebrew-core (no Git repository)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You may also run the below command to ensure everything is configured correctly. below command will show the instructions for correcting any issues.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">james@JamesEduard repos % brew doctor\n\nPlease note that these warnings are just used to help the Homebrew maintainers\nwith debugging if you file an issue. If everything you use Homebrew for is\nworking fine: please don't worry or file an issue; just ignore this. Thanks!\n\nWarning: A newer Command Line Tools release is available.\nUpdate them from Software Update in System Preferences or run:\n  softwareupdate --all --install --force\n\nIf that doesn't show you any updates, run:\n  sudo rm -rf \/Library\/Developer\/CommandLineTools\n  sudo xcode-select --install\n\nAlternatively, manually download them from:\n  https:&#47;&#47;developer.apple.com\/download\/all\/.\nYou should download the Command Line Tools for Xcode 13.4.\n\nWarning: Homebrew\/homebrew-core was not tapped properly! Run:\n  rm -rf \"\/usr\/local\/Homebrew\/Library\/Taps\/homebrew\/homebrew-core\"\n  brew tap homebrew\/core\n\nWarning: Some taps are not on the default git origin branch and may not receive\nupdates. If this is a surprise to you, check out the default branch with:\n  git -C $(brew --repo homebrew\/core) checkout <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To upgrade Homebrew, execute the command below in terminal prompt.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">cd \"$(brew --repo)\" git fetch &amp;&amp; git reset --hard origin\/master &amp;&amp; brew update<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To uninstall Homebrew, execute the command below in a terminal prompt.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">ruby -e \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/uninstall)\"<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. Install Visual Studio Code on macOS<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, fetch the latest version of homebrew and formula. Then tap the Caskroom\/Cask repository from Github. After that search for the visual-studio-code package.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">brew update\nbrew tap homebrew\/cask\nbrew search visual-studio-code --cask<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Outpu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">==> Casks\nvisual-studio\nvisual-studio-code\nhomebrew\/cask-versions\/visual-studio-code-insiders<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then install Visual Studio Code by running the following command.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">brew install visual-studio-code<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wait for the installation complete<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. After completing the installation of Visual Studio Code, launch it on your macOS system. After that, you can add the required extensions for your application.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.jameseduard.com\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-3.13.09-PM.png?resize=690%2C361&amp;ssl=1\" alt=\"\" class=\"wp-image-5340\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Installation done , you may now start your code development with vscode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will help you how to install&nbsp;homebrew on macOS. Homebrew&nbsp;is a free and open-source software package management system that simplifies the installation of software on Apple&#8217;s operating system, macOS, as well as Linux. 1. To Install Homebrew on macOS, open a terminal and execute the command below. The installation process will prompt for the<\/p>\n","protected":false},"author":1,"featured_media":5345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,23,916],"tags":[917,915,22,628],"class_list":["post-5344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-tos","category-linux","category-macos","tag-brew","tag-homebrew","tag-linux","tag-macos"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/5344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5344"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/5344\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}