Wait for some time as install.sh will download many files from the Internet. When prompted, enter your sudo (account) password and press / to continue installation on macOS: We can see and review source code using vim/emacs for security reasons:įinally install Homebrew by setting up permission on install.sh script as follows: Use the wget command or download a file with curl as follows: Now that we installed Xcode, it is time to grab the Homebrew installer shell script. Step 2 – Installing Homebrew on macOS or Mac Computer The installation will begin and wait for some time:Īfter sometimes we will see the final confirmation: In other words, open the terminal application and then type the following command at bash/zsh prompt to install brew in Mac: We need Xcode for Homebrew for installation and compiling apps. We can use Xcode to produce apps for macOS, iOS, iPadOS, watchOS, and tvOS. Step 1 – Installing xcode to install brew on Mac Alternatively, in the Finder, open the /Applications/Utilities folder, then double-click Terminal.Click the Launchpad icon in the Dock, type Terminal in the search field, then click Terminal.To open terminal app try any one of the following method: No need to login as the root user or use sudo commands. First, open the Terminal application on your macOS computer and then type the following commands. A Bourne-compatible shell for installationĪlways install Homebrew in the following directory as per your CPU architecture:.A 64-bit Intel CPU or Apple Silicon CPU (M1).Requirements are as follows to install brew on Mac: Prerequisite to install brew command on macOS as package manager
0 Comments
Leave a Reply. |