cross-env : Run scripts that set and use environment variables across platforms. You can installing cross-env npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install cross-env $ sudo npm install -g cross-env
If want to update the cross-env package execute the command as below,
$ sudo npm update cross-env
Update package globally,
$ npm install -g cross-env
$ sudo git clone https://github.com/rektide/cross-env.git
$ sudo npm install -g ./cross-env
cross-env@5.1.1 /usr/lib/node_modules/cross-env
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall cross-env
Package Name | cross-env |
Version | 5.1.1 |
Description | Run scripts that set and use environment variables across platforms |
Released Date | 2017-10-27T15:41:23.519Z |
Published by | kentcdodds |
How to Learn | https://www.npmjs.com/package/cross-env/tutorial |