Skip to content
JS
Package

cross-env

Run scripts that set and use environment variables across platforms

v10.1.0, 29 Sept 2025MITESM onlyTypes: BundledNode.js utilitiesConfiguration
$ npm install cross-env

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
010m20m30mSept 2025Mar 2026Sept 2026High 25.2m (25 Aug 2026)Low 6.5m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v10 first release 10.0.0, 25 Jul 2025
  2. v7 first release 7.0.0, 25 Jan 2020
  3. v6 first release 6.0.0, 17 Sept 2019
  4. v5 first release 5.0.0, 11 May 2017
  5. v4 first release 4.0.0, 31 Mar 2017
  6. v3 first release 3.0.0, 24 Sept 2016
  7. v2 first release 2.0.0, 13 Jul 2016
  8. v1 first release 1.0.0, 1 Oct 2015

Recent releases

VersionPublished
10.1.029 Sept 2025
10.0.025 Jul 2025
7.0.31 Dec 2020
7.0.25 Mar 2020
7.0.13 Mar 2020
7.0.025 Jan 2020
6.0.32 Oct 2019
6.0.21 Oct 2019
6.0.11 Oct 2019
6.0.017 Sept 2019
5.2.131 Aug 2019
5.2.013 Jun 2018
5.1.622 May 2018
5.1.59 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cross-env@10.1.0/
  • unpkghttps://unpkg.com/cross-env@10.1.0/
  • esm.shhttps://esm.sh/cross-env@10.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.