/
How to Install Homebrew

How to Install Homebrew

To install Homebrew and install apps, issue the following commands in Terminal. 

NOTE: The following commands are for Intel Mac's. 


/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install xquartz macfuse ncar-ncl gfortran gcc numpy scipy zmq pyqt szip gdal gawk ghostscript nedit ffmpeg graphicsmagick curl rsync sshfs gmt geographiclib
sudo reboot
export NCARG_ROOT="/usr/local/ncl-6.5.0"
export PATH="${NCARG_ROOT}/bin:${PATH}"

Installing Homebrew on Apple Silicon (M1/M2) Mac

Note: Installation for M1 chipped machines is not fully supported and is experimental

To install Homebrew and install apps, issue the following commands in Terminal:

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"


arch -x86_64 brew cask install xquartz osxfuse ncar-ncl gfortran
arch -x86_64 brew install gcc numpy scipy zmq pyqt szip gdal gawk ghostscript nedit ffmpeg graphicsmagick curl rsync sshfs gmt geographiclib
sudo reboot
export NCARG_ROOT="/usr/local/ncl-6.5.0"
export PATH="${NCARG_ROOT}/bin:${PATH}"

Ref:  

Related content

Installing, Upgrading, and Uninstalling Macports
Installing, Upgrading, and Uninstalling Macports
More like this
Installing Xcode Tools and X11
Installing Xcode Tools and X11
More like this
Working with different versions of GCC or Python using MacPorts
Working with different versions of GCC or Python using MacPorts
More like this
Reinstalling Xcode after Imaging
Reinstalling Xcode after Imaging
More like this
How to install multiple versions of Python using Anaconda
How to install multiple versions of Python using Anaconda
More like this