How to Install LAMMPS on Mac

First, open the terminal and use brew to install the core package.

brew install lammps

Next, make sure it’s installed properly.

brew test lammps -v

Now install models needed,

brew install openkim-models

Now download the tarball.

Open the .tar file and place wherever you want LAMMPS to live.

Go ahead and get yourself the mpi capability:

brew install open-mpi fftw

Install cmake so you can create your first LAMMPS build.

 brew install cmake

Now go the the directory where you put the .tar file. For me, it was

cd Documents/lammps-2Aug2023

Now make your first build!