-
Notifications
You must be signed in to change notification settings - Fork 0
Node and NPM installation
To install npm (Node Package Manager), you need to install Node.js first. npm comes bundled with Node.js, so by installing Node.js, you automatically get npm as well. Here's how you can install npm:
-
**Download Node.js: **Go to the official Node.js website at https://nodejs.org/ and download the appropriate installer for your operating system. Make sure to choose the LTS (Long Term Support) version, which is recommended for most users.
-
Run the installer: Once the installer is downloaded, run it and follow the installation wizard. Accept the license agreement and choose the desired installation location if prompted.
-
Verify installation: After the installation is complete, you can verify that Node.js and npm are properly installed by opening a terminal or command prompt and typing the following commands:
node -v
This command will display the version of Node.js installed on your system.
npm -v
This command will display the version of npm installed on your system.
If both commands return the version numbers, it means that Node.js and npm are successfully installed.
That's it! You have now installed npm along with Node.js on your computer. You can use npm to install and manage packages for your Node.js projects.