{"id":559240,"date":"2023-03-03T20:00:00","date_gmt":"2023-03-03T17:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-install-homebrew-on-a-mac\/"},"modified":"2023-03-03T20:00:00","modified_gmt":"2023-03-03T17:00:00","slug":"how-to-install-homebrew-on-a-mac","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/","title":{"rendered":"#How to Install Homebrew on a Mac"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3df3c314a80\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3df3c314a80\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#%E2%80%9CHow_to_Install_Homebrew_on_a_Mac%E2%80%9D\" >&#8220;How to Install Homebrew on a Mac&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#How_to_Install_Brew_on_a_Mac\" >How to Install Brew on a Mac<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#How_to_Use_Homebrew_on_a_Mac\" >How to Use Homebrew on a Mac<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#Why_Homebrew_Is_So_Useful_on_a_Mac\" >Why Homebrew Is So Useful on a Mac<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#What_Is_Homebrew_on_a_Mac\" >What Is Homebrew on a Mac?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#How_to_Uninstall_Homebrew_on_a_Mac\" >How to Uninstall Homebrew on a Mac<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#How_to_Add_Homebrew_to_the_Path_on_a_Mac\" >How to Add Homebrew to the Path on a Mac<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#How_to_Fix_%E2%80%9Cbrew_command_not_found%E2%80%9D_on_macOS\" >How to Fix \u201cbrew command not found\u201d on macOS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#Why_Dont_Known_Homebrew_Casks_or_Formula_Show_Up_When_I_Search\" >Why Don\u2019t Known Homebrew Casks or Formula Show Up When I Search?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#Where_Is_Homebrew_Installed_on_a_Mac\" >Where Is Homebrew Installed on a Mac?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#Can_I_Install_Homebrew_Without_Xcode\" >Can I Install Homebrew Without Xcode?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-homebrew-on-a-mac\/#You_Can_Always_Install_Mac_Apps_the_Old_Fashioned_Way\" >You Can Always Install Mac Apps the Old Fashioned Way<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CHow_to_Install_Homebrew_on_a_Mac%E2%80%9D\"><\/span>&#8220;How to Install Homebrew on a Mac&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<!-- UNCACHED CONTENT --><\/p>\n<figure style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-876230 size-full\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/Apple-MacBook-Air-M2-resting-on-desk-next-to-AirPods-Pro-and-PS4-controller.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Apple MacBook Air M2 resting on desk next to AirPods Pro and PS4 controller\" width=\"1200\" height=\"675\" data-credittext=\"Marcus Mears III \/ How-To Geek\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\">Marcus Mears III \/ How-To Geek<\/span><\/figcaption><\/figure>\n<div class=\"keytakeaways\">Install Homebrew on a Mac by running the following command in Terminal:<code>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/code><\/p>\n<p>You can then run &#8220;brew install&#8221; to install software.<\/p>\n<\/div>\n<p>Homebrew is a package manager for macOS that allows you to install software using the \u201cbrew\u201d command at the command line. It\u2019s easy to set up and simple to use once you\u2019re familiar with a few basic commands.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Install_Brew_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_0\">How to Install Brew on a Mac<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To download Homebrew on a Mac, you just need to execute a few commands in a Terminal window. Homebrew works on both Apple Silicon (M1, M2, and so on) Mac models as well as older Intel-based machines.<\/p>\n<p>To get started, launch Terminal (use Spotlight or find it under Applications &gt; Utilities), then paste (or type) the following followed by the Enter key:<\/p>\n<pre>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/pre>\n<p>You\u2019ll be prompted for your admin password. Type it and then hit Enter to proceed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-876218\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/install_homebrew_password.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Enter password to install Homebrew on macOS\" width=\"730\" height=\"423\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Next, you\u2019ll be notified of what is about to be installed as part of the Homebrew setup process. This includes the Xcode Command Line Tools, which will be installed for you alongside other essential Homebrew components. Hit Enter to start installing Homebrew on macOS.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-876219\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/install_homebrew_macos.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Hit Enter to install Homebrew on Mac\" width=\"730\" height=\"423\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Now, you must wait for the various packages to download and install. How long this takes largely depends on your internet speed, but the whole thing should be over in around five minutes or so. Once the installation is complete, you\u2019ll be prompted to run two more commands.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-876223\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/finalize_homebrew_installation.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Finish setting up Homebrew on macOS\" width=\"730\" height=\"423\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>First, run the following two commands to add Homebrew to your PATH:<\/p>\n<pre>echo 'eval $(\/opt\/homebrew\/bin\/brew shellenv)' &gt;&gt; \/Users\/$USER\/.zprofile&#13;\neval $(\/opt\/homebrew\/bin\/brew shellenv)<\/pre>\n<p>If you don\u2019t run these two commands, you\u2019ll get a \u201ccommand not found: brew\u201d when trying to run Homebrew commands.<\/p>\n<p>You can run <code>brew update<\/code> to make sure your list of available packages is up to date.\u00a0Lastly, run the <code>brew doctor<\/code> command to make sure everything is working as advertised. Homebrew will list any issues and the commands you need to run to fix them.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Use_Homebrew_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_1\">How to Use Homebrew on a Mac<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Use the \u201c<code>brew install name<\/code>\u00a0command to install applications on your Mac, replacing \u201cname\u201d with the name of the application you want to install. Homebrew can install both graphical applications (known as casks) and open-source command-line tools (known as formulae). For example, to install Firefox, you would run:<\/p>\n<pre>brew install firefox<\/pre>\n<p>If you\u2019re looking for a particular piece of software, you can search for it using the <code>brew search<\/code> command:<\/p>\n<pre>brew search google<\/pre>\n<p>You can find a list of all formulae and casks available on the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/formulae.brew.sh\">Homebrew Formulae<\/a> website.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-876224\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/brew_search_command.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Using the &quot;brew search&quot; command to find casks and formulae\" width=\"730\" height=\"423\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You can limit your commands to just casks or formulae using the <code>--cask<\/code> or <code>--formula<\/code> options, for example:<\/p>\n<pre>brew search --formula apt<\/pre>\n<p>You can find a list of packages you have installed using the <code>brew list<\/code> command. Once you\u2019ve found a package, you can get more information about what it does using the <code>brew info<\/code> command, including a description, any associated .APP files, the project homepage, and the current version:<\/p>\n<pre>brew info unofficial-wineskin<\/pre>\n<p>By default, Homebrew uses only the core directory of formulae, casks, and external commands. You may have to install some applications by \u201ctapping\u201d into another repistory using the <code>brew tap<\/code> command. Running this command on its own will list all currently tapped directories.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-876226\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/brew_tap_command.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Using the &quot;brew tap&quot; command to list tapped directories\" width=\"730\" height=\"122\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To remove an app you\u2019ve installed using Homebrew, run the <code>brew remove<\/code>\u00a0command (with or without <code>--formula<\/code> or <code>--cask<\/code> options), for example:<\/p>\n<pre>brew remove firefox<\/pre>\n<p>There are a lot more Homebrew commands and options that you can use, but these are the basics. For a full list of commands and additional options check out the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/docs.brew.sh\/Manpage\">Homebrew Documentation<\/a>.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Why_Homebrew_Is_So_Useful_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_2\">Why Homebrew Is So Useful on a Mac<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Homebrew makes it possible to install applications with a single command, right from macOS Terminal. This removes the need to search for an app website, find a download link, download a .DMG or .PKG file, drag the .APP file into your Applications folder or run the .PKG, and dispose of whatever\u2019s left over.<\/p>\n<p>Using <code>brew search<\/code> you can find applications based purely on their name and install them in a flash.\u00a0It\u2019s also easy to keep these apps up to date, simply run the <code>brew upgrade<\/code>\u00a0command to update everything, or limit the command to a specific cask or formula for example:<\/p>\n<pre>brew upgrade firefox<\/pre>\n<p>For open-source utilities, Homebrew is an all-in-one tool that can find, download, install, and maintain everything for you. It installs any other dependencies you may need for a utility to work, a tedious process that can otherwise require step-by-step installation.<\/p>\n<p>Some of the most useful utilities (and their dependencies) can be installed in mere seconds with Homebrew, including <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.docker.com\">Docker<\/a> (<code>docker<\/code>), <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/nodejs.org\">Node.js<\/a> (<code>node<\/code>), Python (<code>pyenv<\/code>), <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.java.com\/en\/\">Java<\/a> (<code>java<\/code>), PostgreSQL (<code>postgresql@15<\/code>) and <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.npmjs.com\">Npm<\/a>\u00a0(<code>npm<\/code>).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" alignnone wp-image-876227 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/brew_info_command.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Searching for docker with brew on a Mac.\" width=\"730\" height=\"423\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"What_Is_Homebrew_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_4\">What Is Homebrew on a Mac?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Homebrew is a free package manager that allows you to find, install, and maintain open-source utilities and graphical applications using simple text commands. The application can be installed and used entirely via the Terminal utility built into macOS.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_to_Uninstall_Homebrew_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_5\">How to Uninstall Homebrew on a Mac<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can remove Homebrew by downloading and running the uninstall script with the following command:<\/p>\n<p><code>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/uninstall.sh)\"<\/code><\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_to_Add_Homebrew_to_the_Path_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_6\">How to Add Homebrew to the Path on a Mac<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This is covered in the final part of the Homebrew setup process. Once you\u2019ve installed Homebrew the installer should prompt you to run two more commands, the first is:<\/p>\n<pre>echo 'eval $(\/opt\/homebrew\/bin\/brew shellenv)' &gt;&gt; \/Users\/$USER\/.zprofile<\/pre>\n<p>And the second is:<\/p>\n<pre>eval $(\/opt\/homebrew\/bin\/brew shellenv)<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"How_to_Fix_%E2%80%9Cbrew_command_not_found%E2%80%9D_on_macOS\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_7\">How to Fix \u201cbrew command not found\u201d on macOS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you encounter a \u201ccommand not found\u201d error while attempting to run <code>brew<\/code>\u00a0commands you\u2019ve either not got Homebrew installed or you didn\u2019t run the final two commands as prompted during the setup process.<\/p>\n<p>Don\u2019t remember installing Homebrew? Run the installer using the following command in Terminal:<\/p>\n<pre>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/pre>\n<p>Otherwise, run the final two commands so that macOS recognizes the brew command when you try and run it. The first is:<\/p>\n<pre>echo 'eval $(\/opt\/homebrew\/bin\/brew shellenv)' &gt;&gt; \/Users\/$USER\/.zprofile<\/pre>\n<p>And the second is:<\/p>\n<pre>eval $(\/opt\/homebrew\/bin\/brew shellenv)<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Why_Dont_Known_Homebrew_Casks_or_Formula_Show_Up_When_I_Search\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_8\">Why Don\u2019t Known Homebrew Casks or Formula Show Up When I Search?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you find formulae or casks in the Homebrew Formulae browser that won\u2019t show up when you run the brew search command, you might need to tap the core package list again. To do this, first run:<\/p>\n<pre>rm -rf \"\/opt\/homebrew\/Library\/Taps\/homebrew\/homebrew-core\"<\/pre>\n<p>Now tap the core again manually using:<\/p>\n<pre>brew tap homebrew\/core<\/pre>\n<p>Don\u2019t forget to run <code>brew doctor<\/code> if things aren\u2019t working properly for more guidance.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Where_Is_Homebrew_Installed_on_a_Mac\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_9\">Where Is Homebrew Installed on a Mac?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Homebrew is installed in the <code>\/opt\/homebrew<\/code> directory on your Macintosh HD drive. You can get there by launching Finder followed by Go &gt; Go to Folder (Command+Shift+G) and typing \u201c\/opt\/homebrew\u201d followed by Enter.<\/p>\n<p>To find out where a specific package is installed, use the brew info command, for example:<\/p>\n<pre>brew info firefox<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Can_I_Install_Homebrew_Without_Xcode\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_10\">Can I Install Homebrew Without Xcode?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You don\u2019t need the full Xcode package to install Homebrew, just the Xcode Command Line Tools. These should be installed when you attempt to install Homebrew. Alternatively, you can install them yourself using the following Terminal command:<\/p>\n<pre>xcode-select --install<\/pre>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"You_Can_Always_Install_Mac_Apps_the_Old_Fashioned_Way\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_11\">You Can Always Install Mac Apps the Old Fashioned Way<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Homebrew is far from the only way to install Mac software. <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/177619\/how-to-install-applications-on-a-mac-everything-you-need-to-know\/\">Installing software on a Mac is easy, whether you\u2019re using the Mac App Store, a downloaded .DMG file, or a .PKG installer. Once you\u2019ve tried out an app, you can remove it using the Trash or a third-party app.<\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong>\n<\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/211541\/install-homebrew-on-mac\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How to Install Homebrew on a Mac&#8221; Marcus Mears III \/ How-To Geek Install Homebrew on a Mac by running the following command in Terminal:\/bin\/bash -c &#8220;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)&#8221; You can then run &#8220;brew install&#8221; to install software. Homebrew is a package manager for macOS that allows you to install software using the \u201cbrew\u201d command&#8230;<\/p>\n","protected":false},"author":1,"featured_media":559241,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/Apple-MacBook-Air-M2-resting-on-desk-next-to-AirPods-Pro-and-PS4-controller.jpg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-559240","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/559240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=559240"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/559240\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/559241"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=559240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=559240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=559240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}