In December 2023, I made the move to a Macbook Pro after being a Windows guy for decades. I want to share my learnings as I get used to the Mac. In this post, I focus on Mac App installs with Homebrew.
What is HomeBrew?
Homebrew is a package installer, it is a command line utility that helps to install and update applications.
How to get HomeBrew?
Homebrew is easy to install. Go to brew.sh for the latest install instructions. Below are the steps as of Jan 2024.
- Press Command Space to open ‘SpotLight’
- Type Terminal
- Select terminal
- Copy the code below and paste into terminal. Press Enter and follow instructions.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Mac App installs with HomeBrew
Now homebrew is installed, it is time to get some key applications installed.
MAS – Mac App Store Command Line
Full details available mas — Homebrew Formulae – run the below command to install.
brew install mas
Python
Install python to run python scripts. Full details pyenv — Homebrew Formulae
brew install pyenv
Visual Studio Code
Install Visual Studio Code by following full details at visual-studio-code — Homebrew Formulae or run
brew install --cask visual-studio-code
1Password
Install 1Password password manager by following the full instructions on 1password — Homebrew Formulae or running the command below:
brew install --cask 1password
Brew Bundle – scripting installs
Right, so you now have a few dozen apps installed and are dreading trying to remember them all, should you reinstall. That is where Brew Bundle comes in. Brew Bundle is installed as standard and has the ability to create a brewfile. Run the code below to create a brewfile listing all the apps installed.
brew bundle dump
Store the Brewfile safely for your next reinstall. You can pass the brewfile into Brew Bundle and it will install all the apps for you. You can edit the brewfile to add/remove applications. I found this post extremely useful > Use Homebrew Bundle to manage software installation on macOS – DEV Community
Tell me what you think in the comments below or on X @timdixon82