In this article i will share with you how to update letest vertion of node in ubuntu OS.
sudo npm install -g n sudo n stable
Then you got the following output in terminal.
installing : node-v14.16.0 mkdir : /usr/local/n/versions/node/14.16.0 fetch : https://nodejs.org/dist/v14.16.0/node-v14.16.0-linux-x64.tar.xz installed : v14.16.0 (with npm 6.14.11)
To upgrade to latest version (and not current stable) version, you can use
sudo n latest
installing : node-v15.10.0 mkdir : /usr/local/n/versions/node/15.10.0 fetch : https://nodejs.org/dist/v15.10.0/node-v15.10.0-linux-x64.tar.xz installed : v15.10.0 (with npm 7.5.3)
then last you check your current
node version by using the following command.
i hope you like this araticle.
Auto Complete City Google Map API In LaravelHello, everyone in this tutorials we are...
How to Send Email with Attachment in Laravel 8Sending mail with attachment is always c...
How to convert line breaks to br in jQuery ?If you are using the textarea in your ap...
How to Allow Only Numeric Value in HTML Text Input Using jQueryUse the RegExp test() Method If you w...
How to Make a User an Administrator in UbuntuWhile your computer is shared with your...