This information needs to be used when interacting with git in the future. After the installation is completed, I will return to the following interface. You only need to enter one line of command: brew install git Installing git with homebrew 3.1 installation command PS: for homebrew uninstallation, please refer to the first item in the reference. If the installation is successful, the following command will be returned.
Then you can test whether homebrew is successfully installed with the following code. When the following information appears on the terminal, the installation is completed. Sometimes I didn’t connect to an address, and sometimes I directly returned false and error.
In fact, I installed it many times without success. enter) then wait for it to install itself. Press according to his request RETURN(i.e. Use gem to install gems and brew to install dependent packages.” 2 homebrew installationĮnter the following command in the terminal usr/bin/ruby -e '$(curl -fsSL )' The official answer to what it can do is: “homebrew makes Mac OS more complete. Homebrew is a software package management tool for Mac platform.