how to clear command line mac code example Example: clear terminal mac Clear terminal on macOS: Command + K (alternatively type: clear)