toddbluhm/env-cmd
Setting environment variables from a file observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 66
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3669
- days_rel: n/a
- days_push: 205
- n_releases_24m: 0
Adoption not part of the score
1814 stars · 69 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
env-cmd is a Node.js CLI tool that executes commands with environment variables loaded from an env file. It supports custom env file paths, multiple environments via .rc files, variable expansion, and cross-platform usage in npm scripts.
Use cases
- run a command with environment variables from a .env file
- load different env configurations per environment in npm scripts
- set environment variables cross-platform without shell-specific syntax
- merge multiple named environments from an rc file
- expand $VAR references in command arguments
- avoid overriding already-set environment variables when running commands
When to choose
- you need to run node or other commands with env vars from a file in npm scripts
- you want cross-platform env loading for Windows, macOS, and Linux
- you need multiple named environment configs in one project
When to avoid
- you only need to load env vars inside a Node.js process rather than spawn a command (use dotenv)
- you need complex secret management or encrypted env files
- your runtime already has built-in env file support (e.g. Node 20+ --env-file)
Facets
cli-tool · maturity stable
cli configuration-management developer-tools developer-tools cross-platform cli environment-variables dotenv env-file npm typescript command-line automation nodejs
2 sources
- readme: https://github.com/toddbluhm/env-cmd · fetched 2026-08-28 · b9b3458fd22e
- registry_npm: https://registry.npmjs.org/env-cmd · fetched 2026-08-29 · 5fa599635eef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| toddbluhm/env-cmd | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="toddbluhm/env-cmd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem