How can I set an environment variable only for the duration of the script? October 23, 2022 by Tarik VAR1=value1 VAR2=value2 myScript args ...