export
Export shell variables to child processes. More information: https://manned.org/export.1posix.
- Set an environment variable:
export {{VARIABLE}}={{value}}
- Append a pathname to the environment variable
PATH
:
export PATH=$PATH:{{path/to/append}}