I like the idea of using dotenv files, but I dislike having to use different language-specific libraries to read them.
To solve this, I created a small utility that lets you prefix any command with "dotenv" to load the ".env" file.
This is how I imagine dotenv would work if it had started as a UNIX utility rather than a Node.js library.
https://direnv.net/