clear

clear resets the visible lil-terminal output without changing files, installed modules or the current directory. Browser command history and the persistent transcript remain separate unless their explicit clear modes are requested.

SystemVersion 1.1.5Stable
lil-terminal

Overview

clear clears only the visible terminal output without touching files, the working directory or command history—useful when a long diagnostic session is obscuring the next step.

Screen, history and transcript are separate

Plain clear changes only the visible terminal. -h also clears browser command history, while -H additionally removes the persistent transcript managed by history; none of these forms deletes project files or modules.

Syntax

lil-terminal
clear [-h|-H]

Reference

clear

clear visible lil-terminal output

cls

alias for @clear

clear -h @history

clear visible lil-terminal output and command history

clear -H @history

clear visible lil-terminal output, command history and persistent transcript

History

The plain clear and cls forms affect only what is visible. With the @history module installed, -h also clears the browser command list. -H additionally deletes the bounded persistent terminal transcript managed by @history -l. Files and modules are never removed by these forms.

Interactive sandbox preview

Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.

Clear visible lil-terminal output

Install and manage

Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.

Base and Minimum are two packages of the same current module release, not separate command versions.

Base package

Install the complete package with local command reference and every published mode.

install clear
Minimum package

Install the reduced package. Local reference is omitted; help <cmd> -i opens the current server reference.

install clear -m
Exact public version

Install exactly this published version.

install clear -v 1.1.5
Check or update

Ask upgrade to check compatibility and replace the installed block only when needed.

upgrade clear
Remove module

Remove the extension block while leaving the core and unrelated modules intact.

install clear -u

Examples

Examples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.

Clear visible lil-terminal output
clear
visible terminal output cleared
files and command history unchanged
Alias for @clear
cls
visible terminal output cleared
files and command history unchanged

cls is an alias of clear, useful when muscle memory comes from DOS or Windows terminals.

Clear · -h
clear -h
visible terminal output cleared
files and command history unchanged
Clear · -H
clear -H
visible terminal output cleared
files and command history unchanged

Related documentation

Current public release

v1.1.52026-08-08

Cleaner alias reference

Keeps cls documented once as the @clear alias and removes duplicate alias forms from the history options.