using export to set environment variable in zsh code example Example: zsh set environment variable $ export VARIABLE=something