AWS offers EC2-optimized macOS AMIs for developer use. The EC2 Mac AMIs provided by AWS include this Tap by default, which provides a simple way to get these tools and updates to them.
What is Homebrew?
Homebrew is a package manager for macOS, which provides easy installation and update management of additional software.
What is a Tap?
A third-party (in relation to Homebrew) repository, which provides installable packages on macOS.
This Tap follows standard Homebrew commands, for more information, please refer to the Homebrew Documentation. Updating homebrew itself is done via the following command:
brew update
The above command will update homebrew itself and this comamnd should always be run prior to attempts to install or update any packages with brew.
Installing the Tap
The macOS AMIs provided by AWS already come with Homebrew installed and this Tap “pretapped”. To manually install the Tap, use the the brew tap command:
brew tap aws/homebrew-aws
Removing the Tap
If this Tap needs to be removed for any reason, Homebrew includes a specific command for this. (Note: This will only remove the Tap and it will preserve anything that was previously installed)
brew untap aws/homebrew-aws
Updating Packages
To update a specific package (Keg or Cask) that has been installed from this tap. Kegs use the default brew upgrade <package> command, while Casks have their own sub-command: brew upgrade --cask <package>.
For example:
Type
Update Command
Full System
brew upgrade
Keg
brew upgrade amazon-efs-utils
Cask
brew upgrade --cask amazon-ena-ethernet-dext
Installing Packages
There are two primary ways to install software from the Tap. Kegs use the default brew install <package> command, while Casks have their own sub-command: brew install --cask <package>.
For example:
Type
Install Command
Keg
brew install amazon-efs-utils
Cask
brew install --cask amazon-ena-ethernet-dext
Removing Packages
Removing software is similar to installing software. Kegs and Casks now use the same brew remove <package> command.
For example:
Type
Uninstall Command
Keg
brew remove amazon-efs-utils
Cask
brew remove amazon-ssm-agent
Documentation
To get more information about brew you can run brew help or man brew on a mac1.metal instance or check Homebrew’s documentation for Homebrew’s complete documentation.
EC2 macOS Homebrew Tap
AWS offers EC2-optimized macOS AMIs for developer use. The EC2 Mac AMIs provided by AWS include this Tap by default, which provides a simple way to get these tools and updates to them.
What is Homebrew?
Homebrew is a package manager for macOS, which provides easy installation and update management of additional software.
What is a Tap?
A third-party (in relation to Homebrew) repository, which provides installable packages on macOS.
See more at https://docs.brew.sh/Taps.
What packages are available in this Tap?
This Tap (repository) contains the formulae that are used in the macOS AMI(s) that are offered by AWS for launching EC2 Mac instances.
This includes:
How do I install the packages from this Tap?
This Tap follows standard Homebrew commands, for more information, please refer to the Homebrew Documentation. Updating homebrew itself is done via the following command:
The above command will update homebrew itself and this comamnd should always be run prior to attempts to install or update any packages with brew.
Installing the Tap
The macOS AMIs provided by AWS already come with Homebrew installed and this Tap “pretapped”. To manually install the Tap, use the the
brew tapcommand:Removing the Tap
If this Tap needs to be removed for any reason, Homebrew includes a specific command for this. (Note: This will only remove the Tap and it will preserve anything that was previously installed)
Updating Packages
To update a specific package (Keg or Cask) that has been installed from this tap. Kegs use the default
brew upgrade <package>command, while Casks have their own sub-command:brew upgrade --cask <package>.For example:
brew upgradebrew upgrade amazon-efs-utilsbrew upgrade --cask amazon-ena-ethernet-dextInstalling Packages
There are two primary ways to install software from the Tap. Kegs use the default
brew install <package>command, while Casks have their own sub-command:brew install --cask <package>.For example:
brew install amazon-efs-utilsbrew install --cask amazon-ena-ethernet-dextRemoving Packages
Removing software is similar to installing software. Kegs and Casks now use the same
brew remove <package>command.For example:
brew remove amazon-efs-utilsbrew remove amazon-ssm-agentDocumentation
To get more information about brew you can run
brew helporman brewon a mac1.metal instance or check Homebrew’s documentation for Homebrew’s complete documentation.License
This project is licensed under the Apache License, version 2.0.