Find your content:

Search form

Tutorial - Learn nodejs simple way - Setup nodejs environment

 
Share

Lets dive into action and come back some more theory concepts of nodejs along with exercises.

How to setup nodejs environment?

Goto https://nodejs.org/en/download/ and download the installer based on your environment. After successful installation it configure the PATH variable where nodejs executables are installed.

OSPath
Linux/usr/local/nodejs/bin
Mac/usr/local/nodejs/bin
FreeBSD/usr/local/nodejs/bin
WindowsC:\Program Files\nodejs\bin

 

 

 

 

 

 

Verify installation

To confirm the installation,open terminal execute below command.

node --version

It should return the version number in the console. Example.

v12.14.0

 

Recommended editors

You could develop nodejs application using any text editor however visual studio code is very popular for programming which has built in terminal where you can execute the code and see the results.

Download https://code.visualstudio.com/download editor in the link.

 

What next?

Setup is done and editor is ready. What next?

My Block Status

My Block Content