Run scripts that set and use environment variables across platforms. Cross-env still works well, but is in maintenance mode. No new features will be added, only serious and common-case bugs will be fixed, and it will only be kept up-to-date with Node.js over time. Most Windows command prompts will choke when you set environment variables with NODE_ENV=production like that. (The exception is Bash on Windows, which uses native Bash.) Similarly, there's a difference in how windows and POSIX commands utilize environment variables.

Features

  • cross-env makes it so you can have a single command without worrying about setting
  • Documentation available
  • The cross-env module exposes two bins
  • Examples available
  • On Windows you need to use cross-env-shell
  • Licensed under the MIT License

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow cross-env

cross-env Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cross-env!

Additional Project Details

Operating Systems

Mac

Programming Language

JavaScript

Related Categories

JavaScript Desktop Environment Software

Registered

2024-08-21