Out now

Switch environments,
not files.

Dotvane lives in your menu bar and flips a project’s .env between local, staging and production in one click.

  • Switch in one click
  • Secrets in the Keychain
  • Touch ID for production

Free for 7 days, then $5.99 once (early-bird, normally $14.99). No subscription.

Code
Fri 9:41
Dotvane1 needs attention
  • web-app~/Code/web-app

  • api~/Code/api

    Missing REDIS_URL

  • billing~/Code/billing

Add Project…Edit Profiles ↗

Click a profile to try it.

Switching

One click. The whole .env changes.

No more cp .env.staging .env, and hoping it was the right one.

Pick a profile in the menu bar and Dotvane rewrites the project’s .env on the spot. Your framework reads it like it always has.

  • A colour you can read from across the room: the dot in the menu bar icon turns green, amber or red with the active environment.
  • Every project in one menu: switch web-app to staging without touching api.
  • Starts from what you have: .env becomes “default” and every .env.<name> its own profile.
localstagingproduction
APP_URL=http://localhost:3000

Keychain

Secrets off the disk.

No more .env.production sitting in the project folder, one git add away.

Every profile lives in your login Keychain. The only secret file on disk is the .env you switched to.

  • Readable by you alone: the active .env is written with 0600 permissions.
  • No account, no sync: profiles never leave your Mac.
  • Nothing to change in your code: anything that reads .env still does.
.env.local.env.staging.env.production
Keychain

Warnings

It notices before you do.

Hand edits, missing keys and a .env that git would commit, flagged as they happen.

Dotvane watches each project’s .env files. When something needs you, the menu bar icon turns into a warning within a second.

9:41
APP_URL=http://localhost:3000

Hand edits

Changed .env yourself? Save the edits to the profile or throw them away.

.env.example → staging

  • PORT
  • LOG_LEVEL
  • REDIS_URLmissing
  • DATABASE_URL

Missing keys

Keys in .env.example that the active profile doesn’t have, by name.

$ git status --short

?? .env

.env isn’t in .gitignore

Leaks

A .env that git isn’t ignoring, flagged as soon as it happens.

Touch ID

Production asks first.

Switching to production should never be a slip of the mouse.

Protected profiles need Touch ID or your password to show, switch to, run or delete.

  • On by default for production: any profile with “prod” in its name.
  • The command line asks too: dotvane run prompts in Terminal. Cancel and nothing runs.
  • Your call: turn protection on or off for any profile.

Touch ID for production

The app

Edit every profile in one place.

Pick a profile to edit it, compare it with another, or switch to it. Try it: production is locked.

  • Edit like a text file: ⌘S on the active profile rewrites .env.
  • New profiles start as a copy of the active one. Right-click to rename.
  • Compare without revealing: a key-by-key diff with every value hidden.
Profiles
production

This profile is protected

Touch ID is needed to show, switch to or delete it.

Command line

Or skip the file entirely.

dotvane run injects a profile into one command. Your .env stays exactly as it was.

  • dotvane list shows each project’s profiles and which one is active.
  • dotvane run staging -- npm start runs one command with staging, whatever .env says.
  • Protected profiles ask for Touch ID right in Terminal.

Install the dotvane command

sudo mkdir -p /usr/local/bin && sudo ln -sf '/Applications/Dotvane.app/Contents/MacOS/Dotvane' /usr/local/bin/dotvane
zsh — web-app

~/Code/web-app $

By hand, or Dotvane?

What switching environments looks like with and without it.

TaskBy handDotvane
Switch environmentscp .env.staging .envOne click in the menu bar
Where secrets liveLoose .env.* files in the projectYour login Keychain
Hand editsLost on the next copyCaught; save or discard
Missing keysFound when the app crashesNamed against .env.example
.env tracked by gitFound in code review, or laterFlagged right away
ProductionSame as any other fileTouch ID first
One command, another envEdit .env, run, edit it backdotvane run staging -- …

Specs

Built the Mac way.

Requires
macOS 14 Sonoma or later
Runs on
Apple silicon and Intel
Security
Notarized by Apple, Developer ID signed
Storage
Profiles in your login Keychain, .env written 0600
Privacy
No account, no sync, no analytics in the app
Licence
One-time purchase, free updates

From the maker

I build small, native Mac apps for developers. Dotvane is one-time paid, has no account and no analytics, and every support email reaches me directly.

Anmol Sethi

Independent Mac developer · [email protected]

Pricing

Pay once. Keep it.

Try every feature free for 7 days. No account, no card.

.env.licence
  1. # Dotvane licence
  2. PRICE=5.99
  3. REGULAR_PRICE=14.99
  4. EARLY_BIRD_LEFT=50
  5. PAYMENT=once
  6. UPDATES=free
  7. REFUND_DAYS=14
Early bird

$5.99

one time · normally $14.99

Early-bird price for the first 50 licences · 50 left

Secure checkout by Dodo Payments

Questions

All questions

Stop copying .env files around.

Download Dotvane and switch your first project in under a minute.

macOS 14 Sonoma or later · Apple silicon & Intel