dotenvx
A better dotenv, from the creator of dotenv. tldr-pages
On several platforms
Several platforms
Run a command with environment variables from a .env file
dotenvx run -- commandIdentifyRun a command with environment variables from a specific .env file
dotenvx run -f path/to/file.env -- commandIdentifySet an environment variable with encryption
dotenvx set key valueIdentifySet an environment variable without encryption
dotenvx set key value --plainIdentifyReturn environment variables defined in a .env file
dotenvx getIdentifyReturn the value of an environment variable defined in a .env file
dotenvx get keyIdentifyReturn all environment variables from .env files and OS
dotenvx get --allIdentify