dotenvx get
Return a single environment variable's value from a specific .env file.
$ dotenvx get KEY -f
$ echo "HELLO=World" > .env echo "HELLO=production" > .env.production dotenvx get HELLO -f .env.production production