Shell
TERM
Terminal type used for capabilities and rendering.
Ubuntu
Debian
Arch
Fedora
CentOS
SUSE
Alpine
macOS
FreeBSD
Verified: 2026-05-12
Syntax
$echo $TERM
Examples
$echo $TERM
$export TERM=xterm-256color
Typical use cases
?
Standard usage
TERM --help
Note
Important for color output, curses, and terminal UI apps.
Export