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

P4 CLI Documentation | 2025.2

# P4TICKETS

The location of the ticket file used by `p4 login`.

## Usage notes

Used by Client? | Used by Server? | Command-Line Alternative | Can be set in P4CONFIG file?
--- | --- | --- | ---
Yes | Yes | N/A | Yes

## Value if not explicitly set

Program | Value
--- | ---
Windows | `%USERPROFILE%\p4tickets.txt`
All others | `$HOME/.p4tickets`

## Examples

`/staff/`username`/p4tickets.txt`

## Notes

The `P4TICKETS` environment variable must point to the actual ticket file, not merely a directory in which `p4tickets.txt` or `.p4tickets` is expected to exist. If you set `P4TICKETS` to point to a directory, you will not be able to log in.

Your search for returned results