To install the Perforce Command-Line Client (p4) on a UNIX or Macintosh OS X machine, perform the following steps:
- Download the p4 executable file from the Perforce web site:
http://www.perforce.com/perforce/loadprog.html
The Perforce client programs are typically downloaded to /usr/local/bin.
- Make the p4 file executable (chmod +x p4)
- Configure the server port setting, client workspace name, and user name. You can specify these settings by configuring the P4PORT, P4CLIENT, and P4USER environment variables. (For details, see Chapter 2, Configuring P4.)

Leave a comment