Installing Nodejs on Ubuntu 16.04

  •  Sharad Jaiswal
    Posted by Sharad Jaiswal

    Installing Nodejs

    To install Node js on Ubuntu 16.04, please open your terminal and run the following commands:-

    sudo apt-get update
    sudo apt-get install nodejs
    sudo apt-get install npm
    curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
    sudo bash nodesource_setup.sh
    sudo apt-get install nodejs
    sudo apt-get install build-essential
    Also, Read Best Node JS Interview Questions
    

    Checking installed version of Node js

    node -v

Please Login or Register to leave a response.

Related Articles

Node Js Tutorials

How to enable cors in Node js

In this article, we are going to see how to enable CORS ( Cross-Origin Resource Sharing ) in Node JS. CORS essentially means cross-domain requests. Cross-Origin Resource Sharing (CORS) is a mechanism ..

Node Js Tutorials

Scheduling CRON Jobs on Node js

Cron Jobs are used for scheduling tasks to run on the server.CRON Jobs are the most commonly used method to automate tasks on Server. In this article, we will see how to schedule Jobs in Node.js. We a..

Node Js Tutorials

Uploading image from url using Node js

In this tutorial, we are going to see how to Upload an image from URL using Node Js. We have written a simple function In Node.js to save an image from URL to local disk/ server. Whenever we use login..