Install latest nodejs version in ubuntu 14.04

前端 未结 13 1231
北恋
北恋 2020-12-12 13:50

This is the way I installed nodejs in ubuntu 14.04 LTS:

sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get install nodejs

When I c

13条回答
  •  遥遥无期
    2020-12-12 14:13

    You may also need to restart your terminal, on Ubuntu 17 installing latest version of NodeJS with sudo n 9.0.0

    if you check the version with node -v it won't report correctly, close the terminal, open a new terminal and check again with node -v it will be reporting correctly

提交回复
热议问题