Ross ROSS = Recommend OSS · open-source software intelligence for agents

kentcdodds/cross-env

🔀 Cross platform setting of environment scripts observed · 2026-08-28

github.com/kentcdodds/cross-env · homepage · TypeScript · MIT (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 52
  • Release rhythm 38
  • Longevity 100

Flags: archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 65
  • age_days: 3989
  • days_rel: 338
  • days_push: 290
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

6524 stars · 267 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

cross-env is an npm-distributed CLI tool that lets developers set and use environment variables in npm scripts with POSIX syntax, working identically on Windows, macOS, and Linux. It is feature-complete and in maintenance mode, with no new features planned.

Use cases

  • set NODE_ENV=production in npm scripts that work on Windows
  • run cross-platform build scripts with environment variables
  • use $VAR syntax in scripts on Windows
  • set multiple environment variables in a single npm script
  • share environment variables between parent and child npm scripts
  • avoid Windows cmd syntax differences in CI scripts

When to choose

  • your npm scripts set environment variables and must run on Windows and Unix
  • you want one script syntax instead of per-platform workarounds
  • you need POSIX-style $VAR expansion in cross-platform shell commands

When to avoid

  • you only target POSIX systems and can set env vars natively
  • you need new features - the project is done and in maintenance mode
  • you are on Node.js 18 or lower and need version 7 instead

Facets

cli-tool · maturity maintenance

cli configuration-management developer-tools developer-tools cross-platform cross-platform windows cli npm-scripts environment-variables cross-spawn nodejs command-line automation macos linux

2 sources

Member repositories

RepositoryRoleHealth v2
kentcdodds/cross-envmain10

For agents

markdown · JSON · MCP: product_card(name="kentcdodds/cross-env")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem