Node.js 0.12 update (Ubuntu)

February 9, 2015 33.7k views

How i can update node.js to v0.12?
I tried run “apt-get install node”, but installed v0.10.33
Also i tried to update from PPA repo ( but this package is missing.

Ubuntu 10.04 x32

4 Answers

I’m not aware of any Debian packages targeting 10.04 for Node 0.12. While 10.04 has security support until April 2015, there have been two more Long Term Support releases in the meantime. With Node being a fairly fast moving community, legacy support is not always there.

Your best bet is probably to use Node Version Manager instead of a packaged version.

curl | bash
source ~/.bashrc
nvm install 0.12
sudo sed -i 's/node /node012 /g;' /etc/apt/sources.list.d/nodesource.list


Also see the answer by Luke on the SO posting. Luke talks about downloading the latest version directly from the web site.

Have another answer? Share your knowledge.