Installing NodeJs form tar.gz

  • by

An explicit NodeJs version can be installed from teh tar.gz file. Below are the steps to install the prefered version.

sij@sijmi:~/Downloads$ node -v
bash: node: command not found
sij@sijmi:~/Downloads$wget https://nodejs.org/dist/v14.9.0/node-v14.9.0-linux-x64.tar.gz
sij@sijmi:~/Downloads$ sudo tar -C /usr/local --strip-components 1 -xzf node-v14.9.0-linux-x64.tar.gz 
[sudo] password for sij:        
sij@sijmi:~/Downloads$ node -v
v14.9.0