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

How to Install cross-spawn software package in NPM Packages

cross-spawn : Cross platform child_process#spawn and child_process#spawnSync. You can installing cross-spawn 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-spawn
$ sudo npm install -g cross-spawn

If want to update the cross-spawn package execute the command as below,

$ sudo npm update cross-spawn

Update package globally,

$ npm install -g cross-spawn

Git clone:

$ sudo  git clone https://github.com/rektide/cross-spawn.git
$ sudo  npm install -g ./cross-spawn

cross-spawn@5.1.0 /usr/lib/node_modules/cross-spawn

How to remove cross-spawn package :

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

$ sudo npm uninstall cross-spawn

Basic Information of cross-spawn NPM Package:

Package Name cross-spawn
Version 5.1.0
Description Cross platform child_process#spawn and child_process#spawnSync
Released Date 2017-02-26T18:38:46.418Z
Published by satazor
How to Learn https://www.npmjs.com/package/cross-spawn/tutorial