OPERATING SYSTEMSOS Linux

Install npm Nodejs tar in Ubuntu

****Install Node in Ubuntu****
locate directory of node’s tar file

(1)extract file (and rename folder “node” for simplicity)

$ tar xf {filename}

(2)$ sudo cp -r node/{bin,include,lib,share} /usr/

Other Command:

Install NodeJs
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install curl
$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash –
or
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash –
$ sudo apt-get install nodejs

source

ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *