Perforce Command-Line Client
P4, the Perforce Command-Line Client, is a small, self-contained client program that offers access to all Perforce features. P4 can also be used in scripts and is the ideal interface for automated processes such as backups and nightly builds.
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.

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.
Download P4, the Command-Line Client
To download P4, go to Downloads>Browse by Component>Clients>Command-Line Client.