Skip to content

Installation

  • macOS 13 (Ventura) or newer
  • Apple Silicon (arm64) or Intel (amd64)

Run the following command in your terminal:

Terminal window
curl -fsSL https://raw.githubusercontent.com/phm-dev/phm/main/scripts/install-phm.sh | bash
  1. Detects your processor architecture (arm64 or amd64)
  2. Downloads the latest PHM release from GitHub Releases
  3. Installs the binary to /usr/local/bin/phm
  4. Creates working directories: /var/phm/ and /opt/php/

Check that PHM was installed correctly:

Terminal window
phm --version