Installing QGIS on MacOS using Homebrew


Created on: 4/3/19
Last update: 4/3/19

Installing Homebrew

/usr/bin/ruby -e "$(curl -fsSL"

Check the latest installation command at:

Installing QGIS

Add the OSGeo tap:

brew tap osgeo/osgeo4mac

Install the latest version or the LTR version of QGIS:

brew install osgeo/osgeo4mac/qgis
brew install osgeo/osgeo4mac/qgis-ltr

Notice the installation comes with many linked packages (e.g. osgeo-netcdf, osgeo-hdf5) from osgeo tap, which might conflict with other native brew packages (e.g. netcdf, hdf5). These packages have to be unlinked before the installation.

Github: OSGeo/homebrew-osgeo4mac