# Install env-cmd with npm

Executes a command using the environment variables in an env file. Version 11.0.0 via npm; verified 2025-08-23.

## Install

```sh
sudo av install npm:env-cmd
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g env-cmd
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:env-cmd
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/env-cmd>
- **Version:** 11.0.0
- **Source summary:** Executes a command using the environment variables in an env file
- **Homepage:** <https://github.com/toddbluhm/env-cmd#readme>
- **Repository:** <https://github.com/toddbluhm/env-cmd>
- **Upstream docs:** <https://github.com/toddbluhm/env-cmd#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/env-cmd/-/env-cmd-11.0.0.tgz>
- **Issue tracker:** <https://github.com/toddbluhm/env-cmd/issues>
- **Published:** 2025-08-23T03:31:34.652Z
- **Last updated:** 2025-08-23T03:31:34.652Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- env-cmd (cli)
- env-cmd (alias)

## Dependencies

- @commander-js/extra-typings
- commander
- cross-spawn

## Build dependencies

- @commitlint/cli
- @commitlint/config-conventional
- @eslint/js
- @types/chai
- @types/cross-spawn
- @types/mocha
- @types/node
- @types/sinon
- c8
- chai
- coveralls
- esmock
- globals
- husky
- mocha
- sinon
- tsx
- typescript
- typescript-eslint

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 11.0.0
- Package-manager updated: 2025-08-23
- Local data: ok
- Upstream repository: https://github.com/toddbluhm/env-cmd
- notice: The package-manager record has not changed recently.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for env-cmd. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 11.0.0
- **Version Count:** 22
- **Maintainers:** toddbluhm, kyle.h
- **Author:** Todd Bluhm
- **Publisher:** toddbluhm
- **Engines:** Node: >=20.10.0
- **Integrity:** sha512-gnG7H1PlwPqsGhFJNTv68lsDGyQdK+U9DwLVitcj1+wGq7LeOBgUzZd2puZ710bHcH9NfNeGWe2sbw7pdvAqDw==
- **Shasum:** 5912634c865f294a74745747d852aae07fd0d9a5
- **Unpacked Size:** 55,200
- **File Count:** 0
- **Created At:** 2016-08-17T04:59:09.689Z
- **Latest Published At:** 2025-08-23T03:31:34.652Z
- **Modified At:** 2025-08-23T03:31:35.110Z


## Related links

- [npm command packages](https://www.automicvault.com/pkg/npm-cli-packages/) - Matched curated package taxonomy and local package facts.
- [dotenv-mono](https://www.automicvault.com/pkg/npm/dotenv-mono/) - Local package facts share a topical domain. Shared terms: config, cross, cross-spawn, env, environment.
- [node-env-run](https://www.automicvault.com/pkg/npm/node-env-run/) - Local package facts share a topical domain. Shared terms: config, cross, cross-spawn, env, environment.
- [owasp-dependency-check](https://www.automicvault.com/pkg/npm/owasp-dependency-check/) - Local package facts share a topical domain. Shared terms: commander, commander-js, cross, cross-spawn, extra.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
