# toddbluhm/env-cmd

> Runs npm scripts and commands with variables loaded from an env file

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/toddbluhm/env-cmd
- HTML: https://awesomeopensource.dev/project/toddbluhm-env-cmd
- Website: https://www.npmjs.com/package/env-cmd
- License: MIT
- Language: TypeScript
- stars: 1816
- Topics: command-line-tool, cross-platform, environment-variables, environments, nodejs, typescript, utilities, variables
- Activity score: 1.7/5 (Slowing down)
- Last commit (any branch): 2026-02-09

## Description

env-cmd is a Node.js command-line program that reads an environment file and executes another command with those variables set, which makes npm scripts usable with per-environment configuration. It accepts a custom path through the -f option and behaves the same on Linux, macOS and Windows, with tests for each platform. Install it locally or globally from npm.

## Maintenance activity

- Recency: 12% (weight 53%) — last commit: 277 days ago
- Commit volume: 0% (weight 33%)
- Bug fixes: 92% (weight 13%)
- Commits: 0 / 90d, 0 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
