Load. Sync. Deploy.

Dotenv is the worldwide standard for managing environment variables – from development to production.

Add layers of security and never lose an important .env file again.

Trusted by millions of developers and companies

How It Works

in 3 well-designed steps
1

Load

securely - with a single file

Dotenv is the worldwide standard for managing environment variables. Store secrets and app configuration securely with a single file - the .env file.

require('dotenv').config()

Load environment variables »

2

Sync

securely - with a single command

You don't need to install anything. No error prone binaries to install, infrastructure to maintain, or custom code to write. It just works – with a single command and across your whole team.

$ npx dotenv-vault push

Syncing .env files »

3

Deploy

securely - with CIA level encryption

Ready to deploy your secrets to production? Run the build command to generate your encrypted .env.vault file, commit that safely to code, and deploy. It's safer than syncing environment variables to 3rd parties.

$ npx dotenv-vault build
$ git commit -am "Add .env.vault"
$ git push

Deploying to Production »



Developer-first ergonomics

We've purposely designed a cli that feels like git and a ui that feels like GitHub.