Download: FreeBSD OS X - pgRouting/pgrouting GitHub Wiki
https://github.com/pgRouting/pgrouting/wiki/Notes-on-Download,-Installation-and-building-pgRouting
This wiki page is no longer mantained, please go to for latest information about the installation:FreeBSD
pgRouting can be installed via ports:
cd /usr/ports/databases/pgRouting
make install clean
or package:
pkg install pgrouting
OS X
Homebrew
brew install pgrouting
The installation command in is pretty much all one needs to do on macOS if homebrew is installed. The requirements can be installed via brew as well and are configured here: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pgrouting.rb. Specific versions for pgrouting can't be chosen at the moment. The version defined in the formulas file will be installed. If specific versions are need to be, there is https://github.com/Homebrew/homebrew-versions.