Difference between revisions of "Package Managers/Homebrew"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == Homebrew== | + | ===Homebrew=== |
− | ==="The Missing Package Manager for macOS (or Linux)"=== | + | ===="The Missing Package Manager for macOS (or Linux)"==== |
− | |||
This is probably the most popular package manager for developers on Mac. | This is probably the most popular package manager for developers on Mac. | ||
I've used it over and over to install NVM on different systems, but a massive amount of open-source software is available: | I've used it over and over to install NVM on different systems, but a massive amount of open-source software is available: | ||
− | === | + | ===Installation=== |
If you've used the terminal before, this will be nice and easy. | If you've used the terminal before, this will be nice and easy. | ||
: 1) Go here: https://brew.sh/ | : 1) Go here: https://brew.sh/ | ||
: 2) Paste the line of code from the site into a terminal | : 2) Paste the line of code from the site into a terminal | ||
− | :: * This uses the curl command to pull the latest installation script from Github, and executes it on your system. | + | :: * This uses the curl command to pull the latest installation script from Github, and executes it on your system.3) Hit Enter |
− | + | ===Usage=== | |
+ | ====Installing==== | ||
+ | |||
+ | : 1) Take a look at the list of available "casks" | ||
+ | :: https://formulae.brew.sh/cask/2) Open your terminal3) Type: | ||
+ | :: <code>brew install NameOfTheCaskYouWantToInstall</code> | ||
+ | |||
+ | ====Listing installed casks==== | ||
+ | |||
+ | : 1) Open your terminal | ||
+ | : 2) Type: | ||
+ | :: <code>brew list</code> | ||
+ | |||
+ | ====Uninstalling==== | ||
+ | |||
+ | : 1) Open your terminal | ||
+ | : 2) Type: | ||
+ | :: <code>brew remove NameOfTheCaskYouWantToRemove</code> | ||
+ | ====Issues==== | ||
− | + | * Sometimes applications installed with homebrew don't link properlyYou get a "not found" or a "No such file or directory" | |
− | + | *: This is often caused by a left over path in your .bash_profile, from an installer from another app. (like MAMP) | |
− | + | *: edit this file to fix things.[[POSIX/ bash_profile|.bash profile]] | |
− | : | ||
− | |||
− |
Latest revision as of 16:45, 27 April 2021
Contents
Homebrew
"The Missing Package Manager for macOS (or Linux)"
This is probably the most popular package manager for developers on Mac.
I've used it over and over to install NVM on different systems, but a massive amount of open-source software is available:
Installation
If you've used the terminal before, this will be nice and easy.
- 1) Go here: https://brew.sh/
- 2) Paste the line of code from the site into a terminal
- * This uses the curl command to pull the latest installation script from Github, and executes it on your system.3) Hit Enter
Usage
Installing
- 1) Take a look at the list of available "casks"
- https://formulae.brew.sh/cask/2) Open your terminal3) Type:
brew install NameOfTheCaskYouWantToInstall
Listing installed casks
- 1) Open your terminal
- 2) Type:
brew list
Uninstalling
- 1) Open your terminal
- 2) Type:
brew remove NameOfTheCaskYouWantToRemove
Issues
- Sometimes applications installed with homebrew don't link properlyYou get a "not found" or a "No such file or directory"
- This is often caused by a left over path in your .bash_profile, from an installer from another app. (like MAMP)
- edit this file to fix things..bash profile