How To Install Specific Version Of Npm
How to install the previous version of node.js and npm ?
Node.js: Information technology is a JavaScript runtime(server-side) built on V8 JavaScript engine of Google Chrome. It was developed in 2009 by Ryan Dhal. Node.js uses an event-driven, not-blocking input/output model that makes information technology lightweight and efficient. It is perfect for data-intensive real-fourth dimension applications. Node is like a wrapper around the V8 with built-in modules providing many features that are easy to use in asynchronous APIs.
NPM: NPM(Node Package Manager) installs and manages version and dependency of packages for Node.js. NPM is installed with Node. The aim of NPM is automatic dependency and bundle management, anytime or anyone needs to get started with the project they tin simply rum NPM install and all the dependencies they will accept immediately. It is possible to specify which version your project depends upon to relieve your project from breaking due to updates.
Installing the previous version of Node.js and NPM: To install the previous versions from the latest version, the latest version of Node.js should exist installed on your computer or you lot tin install it from the official site of Node.js.
Step i: Check the installed version of Node and NPM on the computer use the following command respectively
- In windows:
node -v
npm -v
- In linux:
node --version
npm --version
Step 2: For installing the previous version of Node employ the post-obit control:
- In windows:
npm install -g node@version
Case:
npm install -g node@10.9.0
- In linux:
sudo apt-go install nodejs=version-1chl1~precise1
Example:
sudo apt-get install nodejs=10.9.0-1chl1~precise1
Footstep three: To install previous version of NPM apply the following command:
- In windows:
npm install -g npm@version
Example:
npm install -one thousand npm@four.0.0
- In linux:
sudo apt-go install npm=version-1chl1~precise1
Example:
sudo apt-get install npm=4.0.0-1chl1~precise1
Source: https://www.geeksforgeeks.org/how-to-install-the-previous-version-of-node-js-and-npm/
Posted by: scotthaventruckew.blogspot.com
0 Response to "How To Install Specific Version Of Npm"
Post a Comment