Let’s write some code.
node ~v
**
The command node -v
is used to check the installed version of Node.js. If Node.js is not installed, this command will produce an error indicating that the node
command is not recognized or not found
npm ~v
The command npm -v
displays the version of NPM (Node Package Manager) that is currently installed on your system.
Node REPL [Read, Evaluate, Print, Loop]
→ write command on terminal **`node`**
→ You can now write and execute any code on REPL (Read-Evaluate-Print Loop).