first node app.

Learn how to use Node.js

Install Node.js from here, for your system.
Create a .js file ${name}.js.
Copy, paste this code.

console.log(“Hello World”);

Open terminal, in that location.
Run the file using.

node ${name}.js


This content originally appeared on DEV Community and was authored by Kunal Agrawal

Learn how to use Node.js

  1. Install Node.js from here, for your system.
  2. Create a .js file ${name}.js.
  3. Copy, paste this code.
console.log("Hello World");
  1. Open terminal, in that location.
  2. Run the file using.
node ${name}.js

And that's it, you had just Node.js to run JavaScript outside browser. 😀😀


This content originally appeared on DEV Community and was authored by Kunal Agrawal


Print Share Comment Cite Upload Translate Updates
APA

Kunal Agrawal | Sciencx (2022-07-01T18:50:57+00:00) first node app.. Retrieved from https://www.scien.cx/2022/07/01/first-node-app/

MLA
" » first node app.." Kunal Agrawal | Sciencx - Friday July 1, 2022, https://www.scien.cx/2022/07/01/first-node-app/
HARVARD
Kunal Agrawal | Sciencx Friday July 1, 2022 » first node app.., viewed ,<https://www.scien.cx/2022/07/01/first-node-app/>
VANCOUVER
Kunal Agrawal | Sciencx - » first node app.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/07/01/first-node-app/
CHICAGO
" » first node app.." Kunal Agrawal | Sciencx - Accessed . https://www.scien.cx/2022/07/01/first-node-app/
IEEE
" » first node app.." Kunal Agrawal | Sciencx [Online]. Available: https://www.scien.cx/2022/07/01/first-node-app/. [Accessed: ]
rf:citation
» first node app. | Kunal Agrawal | Sciencx | https://www.scien.cx/2022/07/01/first-node-app/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.