Apply CLI flags through the environment.
Section: Environment Variables and NODE_OPTIONS
Preload with NODE_OPTIONS
bash
bash
NODE_OPTIONS="--require dotenv/config" node app.jsExplanation
Useful in CI, Docker, and shell profiles. Command-line flags still win.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Environment Variables and NODE_OPTIONS