commands.sh

dotenvx

all

A better `dotenv`, from the creator of `dotenv`.

More info →

Examples (7)

Run a command with environment variables from a `.env` file

Run a command with environment variables from a specific `.env` file

dotenvx run -f path/to/file.env -- command

Set an environment variable with encryption

dotenvx set key value

Set an environment variable without encryption

dotenvx set key value --plain

Return environment variables defined in a `.env` file

Return the value of an environment variable defined in a `.env` file

dotenvx get key

Return all environment variables from `.env` files and OS

dotenvx get --all
made by @shridhargupta | data from tldr-pages