TERM environment variable not set February 23, 2023 by Tarik You can see if it’s really not set. Run the command set | grep TERM. If not, you can set it like that: export TERM=xterm