Clear Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Clear Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

clear

Clears the screen of the terminal.

Install clear

  • Debian apt-get install libncurses5-dbg Click to copy
  • Ubuntu apt-get install libncurses5-dbg Click to copy
  • Alpine OS apk add ncurses Click to copy
  • Arch Linux pacman -S ncurses Click to copy
  • Kali Linux apt-get install ncurses-bin Click to copy
  • CentOS yum install ncurses Click to copy
  • Fedora dnf install ncurses Click to copy
  • Raspbian apt-get install libncurses5-dbg Click to copy
  • macOS brew install ncurses Click to copy

Clears the screen of the terminal.

How to use clear?

Below are few example commands for clear that you can use in the terminal.

Clear the screen (equivalent to typing Control-L when using the bash shell):
clearClick to copy
Install the latest version of clear in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the clear just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of clear from the respository and install it in your computer/server.