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: