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

P4 CLI Documentation | 2025.1

# Using your password

If your P4 Server user has a password set, you must use it when you issue `p4` commands. To use the password, you can:

- Log into P4 Server by issuing the `p4 login` command, before issuing other commands.
- Set `P4PASSWD` to your password, either in the environment or in a config file.
- Specify the `-P password` option when you issue `p4` commands (for instance, `p4 -P mypassword submit`).
- Windows or macOS: store your password by using the `p4 set -s` command. Not advised for sites where security is high. P4 Server administrators can disable this feature.

Your search for returned results