Command-Line Client

Highly Scriptable

Custom automation of your development and administrative processes can be accomplished by embedding the appropriate commands in Perl, Python, or any other scripting language. Operations ranging from automating continuous integrations to nightly builds can be tailored to your workflow.

Multiplatform

The Perforce Command-Line Client uses the same commands and syntax on a wide variety of platforms and automatically translates line ending conventions between operating systems.

P4 Command-Line Client screenshot

Concise Commands

P4 commands are generally short and self-explanatory. You will find all commands and their associated flags clearly described by invoking p4 help commands.

Reports

All information related to the Perforce metadata is available from the command line. Custom reports can be easily scripted by redirecting and formatting command output to text files.