DEV Community

Cover image for Day 2 - Install and Running Node on Window - Learning Node JS In 30 Days [Mini series]
Muhammad Ali (Nerdjfpb)
Muhammad Ali (Nerdjfpb)

Posted on • Edited on • Originally published at blog.nerdjfpb.com

Day 2 - Install and Running Node on Window - Learning Node JS In 30 Days [Mini series]

Go to node website https://nodejs.org/en/

Alt Text

In my pc node was installed before which is 10.16.3 but you can install 12.13.1 (LTS Recommended For Most Users) because LTS means Long Term Support
Download and install
Now open command promt and write node -v then you’ll see what version use are using of node.

Alt Text

create a folder and name it whatever you want

Alt Text

create a file and name it whatever you want with .js extention

Alt Text

Write the simple code in there

Alt Text

Open command promt on this folder and write command node YOURFILENAME like node app.js

Alt Text

And magic!!! see the result!

Alt Text

So can you install the node right now ?

Originally it published on nerdjfpbblog and graphical version on instagram. you can connect with me in twitter or linkedin !

Top comments (1)

Collapse
 
ionline247 profile image
Matthew Bramer

I have built a cmdlet that will install a Windows Service and run the NodeJS script you choose. Let me know what you think...

github.com/iOnline247/Install-Node...