dotenvx run -fk

Specify a .env.keys file or a directory containing one. This is useful with monorepos.

$ cd apps/web

dotenvx run -f . -fk ../.. -- node index.js

Here the workspace uses its own .env, while -fk ../.. loads the shared root .env.keys.