Homebrew: put the necessary software on Mac «Terminal» team
Macos / / December 25, 2019
For those who are tired of installing applications for Mac, dragging them from the .dmg to Applications folder. There is a better way.
Linux users have one distinct advantage over users of Windows and Mac: they have repositories and package managers. Instead of looking for an application site to download and install it from there, to order enough Linux «Install it!" - and it will install. With Homebrew your Mac will learn to do the same.
Homebrew - «manager of missing packages macOS», as it is called the creator. Initially, it is intended to compile applications from source code. If you have not forgotten about it in the Mac for Aqua beautiful shell lies the real the Unix, in which the assembly of the source code - the usual case. Homebrew but does not know how soon. Together with the addition Homebrew-Cask it is capable of installing the application from the "Terminal".
Installation and Homebrew Homebrew-Cask
Install Homebrew is very simple.
First, install Xcode - set for the extended use of the "Terminal". Open the "Terminal", and copy the following command:
xcode-select --install
Then give the command to install the Homebrew:
/ Usr / bin / ruby -e "$ (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Enter your password, if required. Before something to perform, the Homebrew stop and explain what it does.
Wait until the Homebrew install - it takes about a minute. "Terminal" notifies you that installation is complete.
Now enter the following command:
brew tap caskroom / cask
operation programs
Homebrew ready. 'S try it.
To install anything, type "Terminal" command:
brew cask install packagename
If you mistyped or do not know the exact name of the package, Homebrew-Cask tell the correct spelling.
For example, to install Chrome, please enter:
brew cask install google-chrome
Chrome will appear in the Applications folder.
If you want to install a few apps, enter:
brew cask install firefox double-commander
Homebrew-Cask install Firefox and Double Commander. You can enter as many names as you want. Much easier than downloading the installation files, do not you?
To remove an application, you can use the following command:
brew cask uninstall google chrome
So you can remove a few unwanted apps at once.
Removing Homebrew
Remove Manager is as simple as a set. Run the "Terminal":
ruby -e "$ (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Homebrew lets you install programs without opening any browser or App Store. Linux users, and all those who prefer the "Terminal", will appreciate it.
If we yearned for command line or moved to a new system and want to install everything at once - Homebrew help.
Homebrew →
Homebrew-Cask →