Node JS is available for all desktop platforms like, Window, Mac and Linux. To install node js, just open the official side of node js and download node js for your platform. Or click the following link to Download Node JS as per your operating system.
Node Js For Window / Mac / LinuxNode JS For Windows Node JS For Mac Node JS For Linux
Node JS Source CodeNode JS Source Code
The Stable version of Node JS is 12.16.3. The Latest version of Node JS is 14.2.0
For most of the users, always prefer stable version of node js over latest version.
Check Node JS
To check whether Node JS is successfully downloaded or node, open Terminal or command prompt of your system and follow steps below.
- Open Terminal or Command Prompt. ( + R ) for windows and then type cmd.
- Type Node in terminal or cmd.
- If you see any output, that means node is installed.
- If you see any error, try installing node js again.
Check Node JS is installed or not?
Welcome to Node.js v12.16.3.
Type ".help" for more information.
Check Node JS Version
Exit Node from Terminal
Get help from Terminal
Node JS REPL, i.e Read-Eval-Print-Loop is Node JS Environment in terminal to run node js.
To start node repl, type node in terminal or command prompt.
Add numbers in repl
Hello world in repl
console.log in repl
The default return value of all functions in JavaScirpt is undefined. That's why after printing hello node in console, undefined is returned as console.log is a function.