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
pwd/sandboxdir 1 . -Fconfig/
data/
logs/
src/
tmp/clsvisible terminal output cleared
files and command history unchangedclearvisible terminal output cleared
files and command history unchangedclear-hvisible terminal output cleared
files and command history unchanged
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 commands
A purple command link means that this feature uses another module. Open the linked command to see what it provides and how to install it.
Allow optional usage analytics for pages, downloads and documentation interactions. Passwords, feedback text and terminal data are never collected by this layer. Privacy