Amber masthead
Filler image AmberTools21 Amber20 Manuals Tutorials Force Fields Contacts History
Filler image

Useful links:

Amber Home
Download Amber
Arch/Manjaro Linux
Amber Citations
GPU Support
Mailing Lists
For Educators
File Formats

Installing Amber on MacOS

Install XCode: Xcode contains Apple's development tools. You can download this from the Mac App store (just search for "xcode"). After installing XCode, you need to agree to the license. So run the following command in a terminal:

sudo xcodebuild -license

Then, read through the license (or type q to skip through it), and type "agree" when prompted. After this, you need to install the command-line tools. Running the following command in the terminal installs the command-line tools:

xcode-select --install

Install XQuartz: Starting with Mac OS X 10.8, Apple stopped including X11 with their OS. Instead, you have to download the XQuartz program. You can download it here.

Install gfortran: You will need to install a Fortran compiler, since Apple doesn't supply one. Get one for your MacOS version here. Note: Don't select gfortran 10; use an older version, like 8.2, even if it is for an older version of OSX 10.

Install cmake: Amber now builds with the cmake program, which can get from You will need to put this program in your PATH as well:

export PATH=/Applications/$PATH

Install Amber: Now you are ready to proceed with the installation instructions in the Amber manual. Briefly, go the amber20_src/build folder, and edit and run the run_cmake script.

"How's that for maxed out?"

Last modified: May 3, 2021