Hi friends, In this article, I will explain how to access shell commands in the node.js application.
Why do we need the shelljs
Shelljs is the node dependency. If you want to use the Unix commands through the node.js application, we can use shell.js as a dependency.
If you want to run the Unix commands globally we need to install shelljs globally.
$ npm install [-g] shelljs
Thank you for reading. Have a nice day.