
This should print the version number so you’ll see something like this v0.10.35. To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v. Make sure you have Node and NPM installed by running simple commands to see what version of each is installed: You won’t be able to run Node.js until you restart your computer.
Follow the prompts in the installer (Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings). msi file you downloaded in the previous step.) Installing Node.js® and NPM is pretty straightforward using the installer package available from the Node.js web site. For example, the Windows Command Prompt, PowerShell, Cygwin, or the Git shell (which you get when you install Github for Windows). You should have some familiarity with an application that lets you issue command line instructions. NPM is installed when you install Node.js® Prerequisites For example, the “request” package simplifies the process of making HTTP requests so you can easily get web resources from other sites. A package is just a code library that extends Node by adding useful features. NPM is a “package manager” that makes installing Node “packages” fast and easy. You can also use it to perform helpful tasks on your computer such as concatenating and minifying JavaScript files and compiling Sass files into CSS. Node.js® is a JavaScript-based environment which you can use to create web-servers and networked applications. Then simply this simply allows you to switch your Node versions, also the ability to use install commands.Installing Node.js® and NPM on Windows What’s Node.js® and NPM? Nvm ls List versions (installed versions are blue)Ī simple install by downloading and running the nvm-setup.zip. It allows you to easily install and manage multiple versions of node. The Node Version Manager. You can find it at Upon this realisation, I completed a quick search and stumbled across a useful tool that can be installed on your Windows machine:
The project I was working on required me to update my version of Node.js a pretty straightforward process, until I then returned to an older project that was dependent on an earlier version of Node.
Today I’m going to be exploring how to manage multiple installations of Node.js on a windows computer following an issue I recently came across whilst working on a project.