Advanced

dotenvx run - Shell Expansion

Prevent your shell from expanding inline `$VARIABLES` before dotenvx has a chance to inject them. Use a subshell.

$ dotenvx run --env="HELLO=World" -- sh -c 'echo Hello $HELLO'
Hello World