- These instructions are being performed on a Liquid Web Self Managed Windows 2019 server as an administrator.
- These instructions are being performed utilizing Microsoft’s Edge browser.
Step #1: Install Node.js
One of the useful things about installing Node.js on Windows is that a convenient installer is provided.
- Navigate to the Node.js download page:
- Click on the Windows Installer icon to start downloading the installer:
- Next, click on the downloaded in the browser, this should open up the installer:
- Click Next on the installer and then, click the checkbox to accept the License Agreement and continue to click Next through the prompts:
- Eventually, during setup, there will be an option to install some optional tools to compile native modules. This option is left up to the user to decide but, for the purposes of this tutorial, they are not being included.
- Finally, select Install:
The installer should look something like the following picture while the installer is running.
The installer will indicate when the installation is complete and prompt to hit the Finish button to close it:
Step #2: Verify Node.js is Installed
Node.js is now installed! Now that it is available, the installation can be quickly verified by running just a couple of commands.
- To check the Node.js version for installation verification, open a command prompt by pressing the Windows key, typing in cmd, and pressing enter. Once the command prompt is open, run the following command:
C:\Users\Administrator>node -v v12.18.0
- The Windows installation of Node.js includes NPM, the node package manager. To verify packages are able to be installed, run the following command to install the react package:
C:\Users\Administrator>npm install -g react + firstname.lastname@example.org added 6 packages from 3 contributors in 0.828s
That’s it! Now that Node.js is installed, it’s possible to start working on Node.js applications!
The Most Helpful Humans In Hosting™
We pride ourselves on being The Most Helpful Humans In Hosting™! Our support staff is always available to assist with any Dedicated, Cloud, or VPS server issues 24 hours a day, 7 days a week 365 days a year.
We are available, via our ticketing systems at email@example.com, by phone at 800-580-4986 or via a LiveChat or whatever method you prefer. We work hard for you so you don't have to!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.