To install the latest stable release, run
pip install pyphi
To install the latest development version, which is a work in progress and may have bugs, run
pip install "git+https://github.com/wmayner/pyphi@develop#egg=pyphi"
For detailed instructions on how to install PyPhi on macOS, see the Detailed installation guide for macOS.