Package
cross-env
Run scripts that set and use environment variables across platforms
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 18.4m
- +98% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 11 months ago
- v10.1.0
- GitHub stars
- 6.5k
- 268 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 3
Downloads
Last week 2026-09-15 to 2026-09-21
18,419,115 downloads last week, 90,738,684 in the last month. The 12-month change of +98% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 148 in total
- Latest version
- 10.1.0, 29 Sept 202511 months ago
- First published
- 1 Oct 2015
- Last push to GitHub
- 16 Nov 2025312 days before the snapshot
- Repository archived
- Yes
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 3
- Dependents on npm
- 6,878
Major versions
- v10 first release 10.0.0, 25 Jul 2025
- v7 first release 7.0.0, 25 Jan 2020
- v6 first release 6.0.0, 17 Sept 2019
- v5 first release 5.0.0, 11 May 2017
- v4 first release 4.0.0, 31 Mar 2017
- v3 first release 3.0.0, 24 Sept 2016
- v2 first release 2.0.0, 13 Jul 2016
- v1 first release 1.0.0, 1 Oct 2015
Recent releases
| Version | Published |
|---|---|
| 10.1.0 | 29 Sept 2025 |
| 10.0.0 | 25 Jul 2025 |
| 7.0.3 | 1 Dec 2020 |
| 7.0.2 | 5 Mar 2020 |
| 7.0.1 | 3 Mar 2020 |
| 7.0.0 | 25 Jan 2020 |
| 6.0.3 | 2 Oct 2019 |
| 6.0.2 | 1 Oct 2019 |
| 6.0.1 | 1 Oct 2019 |
| 6.0.0 | 17 Sept 2019 |
| 5.2.1 | 31 Aug 2019 |
| 5.2.0 | 13 Jun 2018 |
| 5.1.6 | 22 May 2018 |
| 5.1.5 | 9 May 2018 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=20
- Runtimes
- -
- Unpacked size (npm)
- 20 kB
- Dependencies (2)
cross-spawn@epic-web/invariant
npm install cross-env- jsDelivr
https://cdn.jsdelivr.net/npm/cross-env@10.1.0/ - unpkg
https://unpkg.com/cross-env@10.1.0/ - esm.sh
https://esm.sh/cross-env@10.1.0
Indexability: Indexed.