2) In the command window that opens, enter
For example, to check if NUKE_DISK_CACHE is set, enter
echo %VARIABLE%
. Replace VARIABLE with the name of the environment variable.For example, to check if NUKE_DISK_CACHE is set, enter
echo %NUKE_DISK_CACHE%
. If the variable is set, its value is displayed in the command window.
macOS and Linux:
1) Launch Terminal or a shell.
2) Enter echo $VARIABLE
. Replace VARIABLE with the name of the environment variable.
For example, to check if NUKE_DISK_CACHE is set, enter echo $NUKE_DISK_CACHE
. If the variable is set, its value is displayed in the Terminal or shell window.
FURTHER READING
You can also find how to list all currently set environment variables from our Q100017: How to list environment variables article.
More information about environment variables can also be found in the following section of Nuke's documentation: Environment Variables
A list of all the environment variables that Nuke recognises can also be found in the documentation here: Nuke Environment Variables
We're sorry to hear that
Please tell us why
SUMMARY
The following article explains how to check whether a Nuke environment variable exists.MORE INFORMATION
Windows:1) Select Start and search for Command Prompt.