Environment Variables

The following environment variables are used by the Tcl interpreter:

HOME

Used by commands such as cd, filename, and glob to determine the user’s home directory

PATH

Used by exec to find executable programs

TCLLIBPATH

A Tcl list of directories to search when autoloading Tcl commands

TCL_LIBRARY

The location of the directory containing Tcl library scripts

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.