cls Command Examples
Clears the screen. In PowerShell, this command is an alias of
Clear-Host
. This documentation is based on the Command Prompt (cmd
) version ofcls
. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/cls.
- View the documentation of the equivalent PowerShell command:
tldr clear-host
- Clear the screen:
cls