Advanced

dotenvx set KEY value

Set a single key/value.

$ touch .env

$ dotenvx set HELLO World
set HELLO with encryption (.env)
  • encryption defaults to on