dotenvx
dotenvx is a secure dotenv tool created by the maker of the original dotenv library. It brings advanced environment variable management to any language, framework, or platform. Key features include cross-platform support allowing it to run on npm, curl, brew, docker, GitHub releases, and Windows. It supports multi-environment configuration for managing separate env files across development, staging, and production. A standout capability is encrypted envs, letting teams encrypt .env files and commit them safely to version control while decrypting at runtime. dotenvx can be used as an npm package in JavaScript or TypeScript projects, or installed globally as a CLI that wraps any application with env loading. Use cases include securing secrets in shared repositories, simplifying multi-environment deployments, integrating with platforms like Cloudflare Workers, and replacing traditional dotenv workflows with an encrypted, auditable solution.