MacOS Bootstrap 2021 – Homebrew

MacOS Bootstrap 2021 – Homebrew

There are so many apps need to install in a new computer. Instead of downloading all one by one, you can use Homebrew. Homebrew can install apps for you by one command.

Install Homebrew

/bin/bash -c "$(curl -fsSL"

After Homebrew installed, you need to run the following command to start using Homebrew.

/bin/bash -c "$(curl -fsSL"
eval "$(/opt/homebrew/bin/brew shellenv)"

Test Homebrew

brew install wget

Homebrew Must have packages


Python is a must have scripting language for every computer but Mac OS 12.x come with Python 2.x which is deprecated. To install Python 3 by Homebrew, you can run.

brew install python

Then run

Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed into

tkinter is no longer included with this formula, but it is available separately:

brew install python-tk@3.9

You can install Python packages with

pip3 install

They will install into the site-package directory

Upgrade pip

pip3 install --upgrade pip

Set Python3 as default Python version

I think it’s easier to just change your user shell environment instead of changing the system level environment.

vi ~/.bash

Then type

alias python=python3

Save your file by pressing Esc -> type :wq

Update your shell environment

source ~/.bash

Check your Python version.

python -V

Final result

Python 3.9.10

This works in my past few versions MacOS.


nodejs is another must of language engine

brew install node


top is same as Task Manager in Windows

brew install htop


To view the directory with sub folders

brew install tree


If you want to check the bandwidth of your network, you can use iperf3

brew install iperf3


A free powerful video converter

brew install ffmpeg


For more suggested packages, you can refer to