On Linux and macOS

On Linux and macOS, download the server and command line client binaries into the /usr/local/bin directory.

  1. Change into the download directory.

    cd /usr/local/bin
  2. Download the executable files from the Perforce website.

    https://www.perforce.com/downloads

  3. Make the server and client binaries executable, if they aren’t already. For example, on Linux:

    chmod +x p4d
    chmod +x p4