![]() ![]() Now we will install the curl package so that we can use the curl command to download the package for node js. ![]() So when you have to install any specific version of node.js and npm, then we will use the default node.js repository. Method 2: Install Node.js on Ubuntu 20.04 via PPA (Personal Package Archive). So let’s move to our second method to install node.js on Linux Now to check the node version you can use the -v option with node and npm command. If still, you don’t find the node on your system, then use the apt command to install the node. When we install npm by default the node js package will get installed. So the above command will update the repositories and then we have to install npm. So on the first method, we will install the suitable version which is the distro support the best, we can also say that this will be one of the stable versions of Node.js. Method 1: Install Node.js on Ubuntu 20.04 via apt command. So the requirement is like, we want Ubuntu 20.04 installed System, If you have to Install Ubuntu 20.04 on Host Machine or to install Ubuntu 20.04 on Virtual box then follow the link.
0 Comments
Leave a Reply. |