Installing Node.js on Windows

Download the Windows installer from here

Nothing complex. Just click the ‘Next’ until the installer finishes and then restart the PC.

Once the PC has restarted, open a command line (or Bash Window) and type npm -v. If you get a version number then the install worked fine.

To run js code, simply type node [file.js]



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: