# Install cross-env with npm

Run scripts that set and use environment variables across platforms. Version 10.1.0 via npm; verified 2025-09-29.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g cross-env
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:cross-env
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/cross-env>
- **Version:** 10.1.0
- **Source summary:** Run scripts that set and use environment variables across platforms
- **Homepage:** <https://github.com/kentcdodds/cross-env#readme>
- **Repository:** <https://github.com/kentcdodds/cross-env>
- **Upstream docs:** <https://github.com/kentcdodds/cross-env#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/cross-env/-/cross-env-10.1.0.tgz>
- **Issue tracker:** <https://github.com/kentcdodds/cross-env/issues>
- **Published:** 2025-09-29T17:34:12.232Z
- **Last updated:** 2025-09-29T17:34:12.232Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cross-env (cli)
- cross-env-shell (cli)
- cross-env (alias)

## Dependencies

- @epic-web/invariant
- cross-spawn

## Build dependencies

- @epic-web/config
- @types/cross-spawn
- @types/node
- @vitest/coverage-v8
- @vitest/ui
- eslint
- prettier
- typescript
- vitest
- zshy

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 10.1.0
- Package-manager updated: 2025-09-29
- Local data: ok
- Upstream repository: https://github.com/kentcdodds/cross-env
- 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 cross-env. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Beta: 5.0.0-beta.0, Latest: 10.1.0
- **Version Count:** 50
- **Maintainers:** kentcdodds
- **Author:** Kent C. Dodds
- **Publisher:** kentcdodds
- **Engines:** Node: >=20
- **Integrity:** sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==
- **Shasum:** cfd2a6200df9ed75bfb9cb3d7ce609c13ea21783
- **Unpacked Size:** 20,233
- **File Count:** 0
- **Created At:** 2015-10-01T23:19:27.453Z
- **Latest Published At:** 2025-09-29T17:34:12.232Z
- **Modified At:** 2025-09-29T17:34:12.434Z


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [cross-var](https://www.automicvault.com/pkg/npm/cross-var/) - Package names and metadata indicate a similar tool family. Shared terms: cross, cross-spawn, scripts, spawn.
- [env-cmd](https://www.automicvault.com/pkg/npm/env-cmd/) - Local package facts share a topical domain. Shared terms: cross, cross-spawn, env, environment, run.
- [node-env-run](https://www.automicvault.com/pkg/npm/node-env-run/) - Local package facts share a topical domain. Shared terms: cross, cross-spawn, env, environment, run.

## Sources

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