Engineering

Node.js Commands

Node.js is a server framework/runtime used to run JavaScript applications on Google Chrome’s JavaScript V8 Engine.

The framework runs JavaScript applications on a server, basically, you get JavaScript on the backend.

It’s free, open source and runs on various platforms  (Windows, Linux, Unix, Mac OS X, etc.).

 

Commands

Run JavaScript code in Node console:

node

 

Test a successful installation:

node --version

or

node -v

 

Run JavaScript file:

node file_name.js

 

 

To be continued…

Spread the knowledge