Dotenv Vault — Development skill for Claude Code
Sync environment variables across machines for consistent Claude Code behavior.
How to install Dotenv Vault
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dotenv-org/dotenv-vault and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dotenv Vault does
It works with a single command. Run `npx dotenv-vault@latest push`.
Alternatives in Development
- n8n Expression Syntax — n8n expression syntax with {{}} and $json/$node variables 3.6k ★
- Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★
- Env — Manage Vercel environment variables 263 ★
README
`dotenv-vault` is a cli to *sync .env files across machines, environments, and team members*.
[](https://npmjs.org/package/dotenv-vault)
[!NOTE] dotenv-vault is a **paid only cloud service for syncing your .env files** (as of May 2025).
*Looking for a free cloud-less alternative?* See my new product [dotenvx](https://github.com/dotenvx/dotenvx) – that lets you:
- encrypt your .env files
- commit them to code
- and securely sync them over git
🌱 Install
It works with a single command. Run `npx dotenv-vault@latest push`.
npx dotenv-vault@latest push
remote: Securely pushing (.env)... done
remote: Securely pushed development (.env)
remote: Securely built vault (.env.vault)
That's it. You securely synced your `.env` file. Next, tell your teammate to run `npx dotenv-vault@latest pull`
npx dotenv-vault@latest pull
Nice!
See further [usage](#%EF%B8%8F-usage) and [commands](#-commands).
🏗️ Usage
When you make a change to your `.env` file, push it up.
$ npx dotenv-vault@latest push
Commit your `.env.vault` file safely to code.
$ git add .env.vault
$ git commit -am "Add .env.vault"
$ git push
Now your teammate can pull the latest `.env` changes.
$ git pull
$ npx dotenv-vault@latest pull
That's it!
🚀 Deploying
Stop scattering your production secrets across multiple third-parties and tools. Instead, use an encrypted `.env.vault` file.
Generate your encrypted `.env.vault` file.
$ npx dotenv-vault@latest build
Fetch your production `DOTENV_KEY`.
$ npx dotenv-vault@latest keys production
remote: Listing .env.vault decryption keys... done
dotenv://:key_1234…@dotenv.org/vault/.env.vault?environment=production
Set `DOTENV_KEY` on your server.
# heroku example
...
Related Skills
Claude Knowledge Sync
An environment-aware Claude Code skill that synchronizes and merges memories and steering documents across mul
Env Manager
Manage environment variables across environments
Cc Sync Legacy
Seamlessly sync Claude Code config & sessions across machines 跨机器无缝同步 Claude Code 配置和会话
Cc Sync
Seamlessly sync Claude Code config & sessions across machines 跨机器无缝同步 Claude Code 配置和会话
Claude Nomad
Sync your full Claude Code setup across machines: skills, settings, and session history, with path remapping a
Harvest Memory
Promote durable learnings from the machine-local per-project memory store into the version-controlled repo mem
Related Agents
Writeup Agent
Use this agent when recon/foothold/privesc notes exist for a target and a polished /Machines/ entry needs draf
Brain Merge
Semantically merge brain knowledge from multiple Claude Code machines. Use when brain-sync or brain-join detec
Qp Bug Hunter
Read-only reviewer for the quality-pass bugs dimension — logout teardown, reconnect state machines, token refr