Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

env-cmd

Runs a command with environment variables from an env file.

Dev workflow and configNPM

GitHubWebsite

1. License

License from npm.

github.com/toddbluhm/env-cmd

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What env-cmd does

Runs a command with environment variables from an env file.

env-cmd popularity

48 / 100
Gid Score, #2235 overall
2.1M
downloads a week, npm
1,814
GitHub stars
6
agent projects use it
env-cmd: downloads per weeknpm, env-cmd 2,110,506
env-cmd: GitHub starstoddbluhm/env-cmd 1,814

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How env-cmd is used

  • env-cmd is a dependency in 6 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 27 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is dotenv (974 projects).
  • Projects that use it most often also use Husky (48.1%), lint-staged (48.1%), Axios (40.7%).

By coding agent

5 projects, 0.2%

Often used with

In 48.1% of its projects
In 48.1% of its projects
In 40.7% of its projects
In 70.4% of its projects
In 70.4% of its projects
In 33.3% of its projects
In 33.3% of its projects
In 33.3% of its projects

More about env-cmd

Funding
  • GitHub Sponsors: https://github.com/toddbluhm

See all

More in Dev workflow and config

Alternatives

env-cmd This page

MITGid 482.1M/wk

dotenv

Load environment variables from .env files into process.env.

BSD-2-ClauseGid 86288M/wk

cross-env

Set environment variables across Windows, Mac and Linux in npm scripts.

MITGid 7436.9M/wk

Compare env-cmd with another tool

Get started

Install it.

npm install env-cmd

No step-by-step start for env-cmd yet: we have not written its hand-checked card.