---
name: "clear"
section: "1"
platform: "macos"
package: "ncurses"
version: "79"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/clear"
---

# clear(1)

clear the terminal screen

## NAME

**@CLEAR@** - clear the terminal screen

## SYNOPSIS

**@CLEAR@**\

## DESCRIPTION

**@CLEAR@** clears your screen if this is possible, including its scrollback buffer (if the extended "E3" capability is defined). **@CLEAR@** looks in the environment for the terminal type and then in the **terminfo** database to determine how to clear the screen.

**@CLEAR@** ignores any command-line parameters that may be present.

## SEE ALSO

**@TPUT@**(1), [**terminfo**(5)](/terminfo/5.md)

This describes **ncurses** version @NCURSES\_MAJOR@.@NCURSES\_MINOR@ (patch @NCURSES\_PATCH@).
