Get dotenvx working. Understand how it works.
Start with Install for the CLI or an SDK for your language. Then follow the Quickstart to encrypt your first .env, commit it, and run your app.
For more options, see Advanced. To use dotenvx directly from your application, head to SDKs.
Your encrypted files travel with your code. Where the private key lives is your choice. Custody explains the options and links to setup.
Evaluating the security model? Read the whitepaper. Company security review materials are in the Trust Center.
Guides
CLI
Node.js
- Node.js
- Next.js
- Express
- Fastify
- Hono
- NestJS
- Vite
- TanStack Start
- Astro
- React Router
- Remix
- Nuxt
- SvelteKit
- Expo
- Bun
Platforms
Docker
CI
Coding Agents
Password Managers
Databases
Python
PHP
Ruby
Go
Rust
Java
.NET
Package Managers
Process Managers
Background Jobs
Monorepos
Shells & Scheduling
Encryption
SDKs
CLI
- run
- get
- set
- del
- encrypt
- decrypt
- keypair
- install
- --quiet
- --verbose
- --debug
- --log-level
- --help
- --version
Custody
Dotenv.toml
- Quickstart
- Declarations
- Strictness
- Required
- Optional
- Types
- Choices
- Minimum
- Maximum
- Encryption
- Redaction
- File overrides
- Syntax
- Commands
- Full specification
Resources
- Dotenv
- .env
- .env (encrypted)
- .env.keys
- Dotenv.toml Spec
- Dotenv Spec
- Dotenv Spec Table
- API
- Errors
- Events
- Stats
- Whitepaper ↗