cross-env@10.1.0
// Run scripts that set and use environment variables across platforms
$ npm install cross-env
downloads/wk
20,288,379
license
MIT
version
10.1.0
published
Sep 29, 2025
What is cross-env?
cross-env allows you to set and use environment variables in npm scripts in a way that works consistently across Windows, macOS, and Linux. Developers use it to avoid platform-specific syntax differences when configuring environment variables during build, test, or development tasks, eliminating the need to maintain separate scripts for different operating systems.
Links
Keywords
Dependencies (2)
Maintainers
kentcdodds