Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

cross-env

Set environment variables across Windows, Mac and Linux in npm scripts.

Dev workflow and configNPM

GitHubWebsite

1. License

License from npm.

github.com/kentcdodds/cross-env

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What cross-env does

Set environment variables across Windows, Mac and Linux in npm scripts.

cross-env popularity

74 / 100
Gid Score, #229 overall
36.9M
downloads a week, npm
6,519
GitHub stars
208
agent projects use it
cross-env: downloads per weeknpm, cross-env 36,905,133
cross-env: GitHub starskentcdodds/cross-env 6,519

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How cross-env is used

  • cross-env is a dependency in 208 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (4.3% of the 4,867 JavaScript/TypeScript ones), #8 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 561; those are left out of every share on this page.
  • Projects that use it most often also use Playwright (JavaScript) (47.6%), TypeScript (85.1%), ESLint (64.9%).
  • It is more common in projects set up for OpenClaw (6.9%) than for OpenAI Codex (2.8%).

By coding agent

124 projects, 3.8%
103 projects, 3.4%
77 projects, 3.2%
23 projects, 4.9%
23 projects, 6.9%
13 projects, 2.8%
11 projects, 3.9%
10 projects, 2.9%

Often used with

In 47.6% of its projects
In 85.1% of its projects
In 64.9% of its projects
In 49.5% of its projects
In 27.9% of its projects
In 31.7% of its projects
In 31.2% of its projects
In 55.3% of its projects

More about cross-env

More in Dev workflow and config

Alternatives

cross-env This page

MITGid 7436.9M/wk

Compare cross-env with another tool

Get started

Install it.

npm install cross-env

No step-by-step start for cross-env yet: we have not written its hand-checked card.