Terminal-first environment variable manager for Vercel projects.
vercelCLI installed and authenticated.- Bun installed (runtime for OpenTUI launch path).
vercel login
vercel whoamiIf you work across teams:
vercel switchnpx vercel-better-envnpm install
npm run tuinpm run verify- Auth status screen (
vercel whoamibacked). - Scope and project picker.
- Matrix editor for keys, value pool, and assignments.
- Live change log + per-row undo.
- Confirm phrase gate before apply.
- Apply report with done/failed/skipped grouping.
- Global:
qquit,rrefresh auth,?help. - Picker:
tabscope,j/kproject,enteropen editor. - Editor:
- Navigation:
j/krow,h/lvalue,[/]environment. - Edits:
ekey,aadd value,vedit value,xdelete value. - Assignment:
sset,uunset. - Other:
zundo row,papply.
- Navigation:
- Confirm: type exact phrase,
enterapply,esccancel. - Report:
enterback to editor.
- Uses Vercel CLI reads/writes (
env pull,env add,env rm). - Baseline hash is revalidated before writes.
- In-flight apply lock prevents concurrent applies per project+scope.
- Reserved runtime keys are hidden and ignored (
VERCEL_*,VERCEL,NX_DAEMON, turbo keys). - Apply gate requires exact confirm phrase via shared validator.
- Custom environment writes are skipped in CLI apply path.
- Branch-specific writes are capability-gated and may be read-only.
- Retarget/rename planner kinds outside supported CLI actions are reported as skipped.
- Unauthenticated screen: rerun
vercel login, then pressrin app. - Missing projects: verify scope with
vercel whoami/vercel switch. - Apply conflict: reload snapshot by re-entering project, then apply again.
- Runtime launch failure: confirm Bun is installed and available on
PATH.