Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2026.1

# P4CLIENT

Name of the current client workspace.

## Usage notes

Used by Client? | Used by Server? | Command-Line Alternative | Can be set in P4CONFIG file?
--- | --- | --- | ---
Yes | No | `p4 -c clientname command` | Yes

## Value if not explicitly set

Operating System | Value
--- | ---
Windows | Value of `COMPUTERNAME` environment variable
All others | Name of host machine

## Examples

`mgonzales-laptop` `qa-project1-win11`

Your search for returned results