Hello world is a most important program for a developer.
Node.js Installation and check its working or notSystem Environment Variable
I will briefly tell you how to write "Hello In Node.Js" in 2 steps.
Step 1:
Create a text file with extection js.
like HelloWorld.js and I saved in D:\nodejs\HelloWorld.js
Step 2:
Open Command prompt or terminal ,got to the saved folder and type "node HelloWorld.js"
D:\nodejs\>HelloWorld.js
Out Put:
D:\nodejs>node HelloWorld.js
Hello World
D:\nodejs>
Node.js Installation and check its working or notSystem Environment Variable
I will briefly tell you how to write "Hello In Node.Js" in 2 steps.
Step 1:
Create a text file with extection js.
like HelloWorld.js and I saved in D:\nodejs\HelloWorld.js
Open Command prompt or terminal ,got to the saved folder and type "node HelloWorld.js"
D:\nodejs\>HelloWorld.js
D:\nodejs>node HelloWorld.js
Hello World
D:\nodejs>



No comments:
Post a Comment