Print
Category: Technology
Hits: 92881

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

How to install Nodejs on Ubuntu?

Step 1: Update registry

            sudo apt update 

Step 2: Installing Nodejs and npm and by default nodejs 10X version get installed

            sudo apt install nodejs npm

            sudo apt install curl 

           Note: curl is the utility like FTP used to transfer files from a server

Step 3: Install/Upgrade specific version of Node.JS version

            curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

             sudo apt-get install -y nodejs