Typing clear at a command prompt clears the screen. Simple enough. Unfortunately, it's no help if you're inside a REPL, or a long-running process.

CMD-K to the rescue.