How to keep up with the latest versions of Node.js in Ubuntu? PPA? Compiling?

前端 未结 6 1226
清酒与你
清酒与你 2020-12-22 15:10

Where can (can I ?) find .deb packages for the latest versions of Node.js ?

If not, and because it\'s a project that progresses very fast, what is the easiest way to

6条回答
  •  借酒劲吻你
    2020-12-22 15:54

    Most up-to-date ppa for nodejs https://launchpad.net/~chris-lea/+archive/node.js/

    sudo add-apt-repository ppa:chris-lea/node.js  
    sudo apt-get update  
    sudo apt-get install nodejs
    

    NOTE: If your system does not have add-apt-repository, it can be installed like so:

    sudo apt-get install python-software-properties
    

提交回复
热议问题