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

P4 CLI Documentation | 2025.2

# Using the Windows registry or macOS system settings

On Windows and macOS computers, you can store connection settings in the registry (or system settings) by using the `p4 set` command. For example:

    p4 set P4PORT=ssl:tea.example.com:1667

There are two ways you can configure client settings in the registry:

- p4 set setting=value: for the current local user.
- p4 set -s setting=value: for all users on the local computer. Can be overridden by any registry settings made for the local user. Requires administrative privileges.

To see which settings are in effect, use the `p4 set` command without arguments. For details about the `p4 set` command, see the P4 CLI Reference.

Your search for returned results