Secrets stay secret
Your existing values always win. envsync never evaluates file contents or prints values in its diffs.
.envKeep local dotenv files aligned with their examples—without overwriting secrets, evaluating values, or losing local configuration.
Prebuilt releases · macOS, Linux & Windows · MIT licensed
THE CONTRACT
envsync treats your example as the shape and your local file as the source of truth for values.
Your existing values always win. envsync never evaluates file contents or prints values in its diffs.
Missing keys are added, stale keys are safely disabled, and your example file controls the structure.
When a removed key returns to the example, envsync restores the value you already had.
Use --check in CI, --dry-run before a change, and --backup when you want a recovery copy.
ONE COMMAND
# Database
DATABASE_URL=postgres://...
LOG_LEVEL=info # Database DATABASE_URL=postgres://secret LOG_LEVEL=info # envsync:disabled OLD_OPTION# OLD_OPTION=true
GET STARTED
The installer detects your platform, verifies the release checksum, and places envsync in ~/.local/bin.
$ curl -fsSL https://envsync.tabw.dev/install.sh | sh $ envsync --dry-runBrowse downloads for every platform →
LESS DOTENV DRIFT