Run P4V from the command-line

You can run P4V and its associated client applications (P4 Admin and P4 Merge) from the command-line.

To view all supported arguments <args> for P4V, run: p4v -h

Run P4V and P4 Admin on Windows, Linux, and macOS

You can run P4V and P4 Admin from Windows, Linux, and macOS using the same procedure.

  1. Open a terminal (or Command Prompt on Windows).

  2. Navigate to the P4V installation directory.

  3. Run:

    p4v <args>

Run P4 Merge on macOS

  1. Open a terminal.

  2. Navigate to the folder where P4V/P4 Merge is installed.

  3. Run:

    <path to p4merge>/p4merge.app/Contents/Resources/launchp4merge <args>