dotenvx Secure Environment Variable Manager and Encryptor
dotenvx is a secure, cross-platform environment variable manager from the creator of dotenv. It provides encrypted .env files, multi-environment support, and works with any programming language or framework through its CLI runner.
Installation
Use the upstream install or setup path that matches your environment:
- npm install @dotenvx/dotenvx --save
- npm i -g @dotenvx/dotenvx
- brew install dotenvx/brew/dotenvx
- docker run -it --rm -v $(pwd):/app dotenv/dotenvx encrypt
Requirements and caveats from upstream:
Basic usage or getting-started notes:
run anywhere (cross-platform)
sh
js
Extracted from upstream docs: https://raw.githubusercontent.com/dotenvx/dotenvx/HEAD/README.md