opn : A better node-open. Opens stuff like websites, files, executables. Cross-platform.. You can installing opn 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 opn $ sudo npm install -g opn
If want to update the opn package execute the command as below,
$ sudo npm update opn
Update package globally,
$ npm install -g opn
$ sudo git clone https://github.com/rektide/opn.git
$ sudo npm install -g ./opn
opn@5.1.0 /usr/lib/node_modules/opn
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall opn
| Package Name | opn |
| Version | 5.1.0 |
| Description | A better node-open. Opens stuff like websites, files, executables. Cross-platform. |
| Released Date | 2017-06-10T11:19:28.026Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/opn/tutorial |