Transcript for:
Installing Apps on Mac with Homebrew

[Music] hi there welcome to appy chips YouTube channel I am M Jen and today we will learn how to install this app on Mac using home brew which is also popularly known as simply Brew but before we get started let me answer some frequently asked questions first to start with what does a package manager like home brew does well a package manager lets you install uninstall or repair apps on your Mac a package manager is very similar to App Store on Mac OS or Microsoft store on Windows operating systems except that a package manager uses commands that you type on Mac terminal to install or uninstall different programs some of the popular package managers for Mac include Homebrew ni and Mac ports and if you are coming from a Linux background you will feel at home with home brew especially if you have used package managers like AP Pacman yum Etc on Linux based operating systems next up is it safe to install the Mac apps via home R short answer yes in fact Homebrew is the most popular and does most widely used package manager on Mac OS moreover hu is a nonprofit member of software Freedom Conservancy Foundation also known as sfc Foundation many other open source projects like G buy box Samba wine are all part of this software Freedom Conservancy organization also you might be surprised to know that Homebrew is the most folked project on GitHub and it has the largest number of contributors on its GitHub repository many devs at organizations like Google Apple Dropbox stripe Etc use H RW to set up different development environments on their MacBooks and IMAX next question can you use home brw to install programs on Apple silicon or more popularly known as M1 MacBooks again yes starting version 3.0 of Brew Apple silicon is Now supported on home R in fact home R also supports programs that are at the moment only supported via Rosetta 2 on Apple silicon now that I have answered your questions on safety and compatibility of home brew let's get to the installation process before we can install anything using Brew we need to install the package manager itself that is home brew on your Mac so let let see now how can we install Brew on Mac let me open my Mac here first you need to press command and space on your keyboard this will open spotlight search on your Mac and then you have to type terminal.app you will see this terminal app simply double click on it to open Terminal let me maximize this terminal window now we need to copy paste the command to install home brew from The Brew website so open your web browser and simply go to the website brew. sh once you are on the website you will see this section called install home brew which has a command that you can simply copy by clicking on this button over here once it is copied you have to go back to terminal right click paste now that the command is copy paste over onto this terminal press enter this will start Brew installation now it is prompting me to enter my users's password on Mac I'm going to type the password now but it won't be visible on your terminal once you have entered the the password simply press enter and if the password is correct the script will continue now it is saying press return to continue the installation I'll press enter here and this will start the installation of home brew on my Mac let's wait for this to finish as this message here says installation successful so that's it view is successfully installed on your Mac now now before we proceed I would like to highlight that bre collects Anonymous usage data via Google analytics as you can see on this page if you want to opt out you can simply run this command Brew analytics off and press enter which simply disables the anonymous usage data collection on your Mac now let's update the package database locally by the metadata of the latest packages on a local map from the central bu repository this should typically take less than a minute to complete depending on your internet connection speed to do so simply type the command Brew update and press enter as you can see my local brew database is already up to date because I just install Brew on my system now to install the app let's send the Brew install command mind you if during installation if you're prompted to enter a password enter your Mac users password to continue [Music] [Music] that's it the installation was successful if this video was useful don't forget to hit the like button and if you faced any problems during the installation in this video please leave a comment below and somebody from App chip team will reply back to you if in future any app installed using Brew stops working then you can simply reinstall it using the command bre space reinstall space the name of the program for example I'll try to reinstall this program called hello which is already installed on my system as you can see it is downloading the program and it says reinstalling hello and now hello is successfully installed and if you want to uninstall any app installed using Brew simply run Brew space uninstall space the name of the program in this case I will try to uninstall the program hello which is already installed on my system as you can see within a few seconds it says the program is successfully uninstalled also over time Brew might end up consuming disk space on your Mac as it keeps installers of the programs that you had installed on your hard disk in a cache directory so you can use the Brew space cleanup command once every 6 to 12 months to free up some space on your Mac this command removes app installers and older versions of the packages only it would not uninstall any of the apps that you have installed as you can see bre cleaner was successfully run on my system so do subscribe to our Channel as we have tutorials for installation of over 9,000 programs on Mac which will come handy if you need to install other apps on Mac in future chances are that we have got it covered already