dotenv-cli
Command-line utility for loading environment variables from .env files when running commands.
3. Used by agents' projects
Dependency in 72 public GitHub projects set up for AI coding agents that we scanned (1.2%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What dotenv-cli does
Command-line utility for loading environment variables from .env files when running commands.
dotenv-cli popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How dotenv-cli is used
- dotenv-cli is a dependency in 72 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 4,867 JavaScript/TypeScript ones), #22 of 299 in dev workflow and config.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 142; those are left out of every share on this page.
- The most used alternative in our scan is cross-env (208 projects).
- Projects that use it most often also use TypeScript (87.5%), tsx (44.4%), lint-staged (30.6%).
By coding agent
Often used with
More about dotenv-cli
More in Dev workflow and config
Alternatives
dotenv-cli This page
Set environment variables across Windows, Mac and Linux in npm scripts.
Get started
Install it.
npm install dotenv-cliNo step-by-step start for dotenv-cli yet: we have not written its hand-checked card.