How to Install cross-env NPM Packages on Ubuntu / Debian

How to Install cross-env software package in NPM Packages

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

Git clone:

$ 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

How to remove cross-env package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall cross-env

Basic Information of cross-env NPM Package:

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