Commands / System

Clear-Host

Clear the screen

beginner System Aliases clsclear

Clear-Host
 Clear-Host
Works on
WindowsLinuxmacOS
PowerShell
5.1 and later
Reference
Microsoft Learn: Clear-Host

Clears the visible buffer. It does not clear command history. cls is the alias everyone uses.

Try this

Clear-Host

Coming from another shell

ShellWhat you might type
bash / zshclear
cmd.execls

More in From bash and From cmd.