# Running OMFIT with MacPorts¶

MacPorts is a package manager specifically for Mac OSX. You must install MacPorts BEFORE issuing the following commands at the command line:

# Run the MacPorts install script; this script can be used also to update your existing installation
cd OMFIT-source/install
# Install the desired python base for OMFIT
./install-macports-3.sh  # Uses python3.x

# rehash to get updated PATH, depending on the shell
rehash || hash -r


Note

OSX requires installing also X-Quartz. After installing, it will require logging out of your computer and logging back in before it can be used. (Apple menu -> Log Out)