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

P4 CLI Documentation | 2026.1

# Delete a client workspace

To delete a workspace, issue the `p4 client -d clientname` command. Deleting a client workspace removes P4 Server’s record of the workspace but does not remove files from the workspace or the depot.

When you delete a workspace specification:

1. Revert (or submit) any pending or shelved changelists associated with the workspace.
2. (Optional) Delete existing files from a client workspace:
   `p4 sync ...#none`
3. Delete the client spec.

If you delete the client spec before you delete files in the workspace, you can delete workspace files using your operating system’s file deletion command.

Your search for returned results