But you can specify the version number to install the specific version of a Node.js package.įor example, to install the cowsay package with version 1.1.0, type: npm install Installing Specific Version Node Module The default NPM installs the latest version of the package. The npm specific version installation uses the following syntax: npm install pacakgename is the name of the packages and version is the version number to be install. This tutorial helps you for installing the old version of modules with NPM command-line tool. By default, NPM installs the latest version of an available module, but sometimes you may be required an older version of the module for your application. Npm download the packages from npmjs and install them on a client machine. The is the centralized repository containing all the node.js modules. It also follows the pacakge.json file for proper management of node modules for an application. ![]() It is used to install, update or delete a node module in your system. NPM (Node Package Manager) is a command-line tool for managing node modules for Node.js applications.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |