Skip to main content

Command to mark shell variables in the current environment to be exported with any newly forked child processes.

# To set a new environment variable:
export <VARIABLE>=<value>

# To remove an environment variable:
export -n <VARIABLE>

# To append something to the PATH variable:
export PATH=$PATH:<path/to/append>