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

How to Install spawn-cmd software package in NPM Packages

spawn-cmd : Wraps child_process.spawn with cmd /c when its a windows machine. You can installing spawn-cmd 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 spawn-cmd
$ sudo npm install -g spawn-cmd

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

$ sudo npm update spawn-cmd

Update package globally,

$ npm install -g spawn-cmd

Git clone:

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

spawn-cmd@0.0.2 /usr/lib/node_modules/spawn-cmd

How to remove spawn-cmd package :

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

$ sudo npm uninstall spawn-cmd

Basic Information of spawn-cmd NPM Package:

Package Name spawn-cmd
Version 0.0.2
Description Wraps child_process.spawn with cmd /c when its a windows machine
Released Date 2014-01-19T13:33:36.761Z
Published by joshski
How to Learn https://www.npmjs.com/package/spawn-cmd/tutorial