# Export all variables in an envfile

## TL;DR

```sh
set -o allexport
source envfile
set +o allexport
```

## Sources

- [Set environment variables from file of key/value pairs]

[set environment variables from file of key/value pairs]: https://stackoverflow.com/questions/19331497/set-environment-variables-from-file-of-key-value-pairs#30969768
