#GNU systems export $(grep -v '^#' .env | xargs -d '\n') # BSD systems export $(grep -v '^#' .env | xargs -0) #link https://stackoverflow.com/questions/19331497/set-environment-variables-from-file-of-key-value-pairs