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]

 

Advertisement

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: