Node js is one of the most popular programming languages in the IT industry. Here we will share with you how to install node js latest version in ubuntu 16.04 with example.
First, you make sure the node is installing in your ubuntu system or not? check this running by the following command.
node -v // or nodejs -v
If you did not find a node in your ubuntu server then you can now install node js in your server help of the following command. here we will share with you how to install all node js version by running the command in your terminal.
sudo apt-get update curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs
sudo apt-get update curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
sudo apt-get update curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
sudo apt-get update curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs
After installing nodejs in your ubuntu system then if you want to uninstall nodejs from the server then run the following commanat in your terminal.
sudo apt-get purge nodejs
it is only removing
node related packages i.e. relevant packages, nothing more.
On the other hand, when you do:
sudo apt-get purge --auto-remove nodejs
it is necessarily doing:
sudo apt-get purge nodejs sudo apt-get autoremove
As you can see, nodejs installing and uninstalling is very easy process
We hope that small tutorials help everyone. Thanks.
Laravel 8 Login with Facebook using Socialite PackageHere, i will show you how to works larav...
How to Merge two Collections in LaravelLaravel collection class Illuminate\Supp...
Disable Text Selection In WebPage Using jQuery and CSSMany times you need to prevent text sele...
Create and send get request in Node.jsNode.js built-in HTTP module is used to...