command-exists : check whether a command line command exists in the current environment. You can installing command-exists 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 command-exists $ sudo npm install -g command-exists
If want to update the command-exists package execute the command as below,
$ sudo npm update command-exists
Update package globally,
$ npm install -g command-exists
$ sudo git clone https://github.com/rektide/command-exists.git
$ sudo npm install -g ./command-exists
command-exists@1.2.2 /usr/lib/node_modules/command-exists
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall command-exists
Package Name | command-exists |
Version | 1.2.2 |
Description | check whether a command line command exists in the current environment |
Released Date | 2017-02-28T17:27:28.734Z |
Published by | mathisonian |
How to Learn | https://www.npmjs.com/package/command-exists/tutorial |