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 https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
After Homebrew installed, you need to run the following command to start using Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
Test Homebrew
brew install wget
Homebrew Must have packages
Python
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 topython3
, python3-config
, pip3
etc., respectively, have been installed into
/opt/homebrew/opt/python@3.9/libexec/bin
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
/opt/homebrew/lib/python3.9/site-packages
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
nodejs is another must of language engine
brew install node
htop
top is same as Task Manager in Windows
brew install htop
tree
To view the directory with sub folders
brew install tree
iperf3
If you want to check the bandwidth of your network, you can use iperf3
brew install iperf3
ffmpeg
A free powerful video converter
brew install ffmpeg
Extra
For more suggested packages, you can refer to https://gist.github.com/pmkay/e09034971b6f23214fd9f95a3e6d1c44