yeah yeah I know, this has been asked before. But when using the chris-lea ppa or the "official way" (which I think is actually the same thing?), after installing you get this:

~$ node --version

So what's the problem? Well the current version of node at the official website is already at 0.12. that seems like pretty large gap to me.

Is there any ppa that gets updated more frequently?

  • btw, I tried adding the onestone ppa and that installed version 0.11.14 (which is pretty hilarious considering the title for the ppa clearly says 0.12. That's false advertising if I ever saw it). This is definitely a step in the right direction, but not there yet
    – yuvi
    Feb 17 '15 at 22:05
  • 0.10.36 was released on January 26, 0.11 on January 30 and 0.12 on February 6 (dates from the blog). It's not a big gap in terms of time.
    – muru
    Feb 17 '15 at 22:09
  • @muru Wow really? I didn't realize they skipped so quickly. was 0.11 an unstable dev version or something like that?
    – yuvi
    Feb 17 '15 at 22:09
  • 0.11.16 was a stable release (the one on Jan 30). There were a few 0.11.xx development releases before that, but nothing about 0.12.
    – muru
    Feb 17 '15 at 22:11
  • @muru so do you think I should stick with the official version and wait for the release?
    – yuvi
    Feb 17 '15 at 22:36

Installation instructions are here: https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories

# Note the new setup script name for Node.js v0.12
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -

# Then install with:
sudo apt-get install -y nodejs
  • 1
    This is the correct answer, if just wanting NodeJS and not NVM. Apr 29 '15 at 2:02
  • 1
    This would install lates nodejs + npm. May 28 '15 at 5:18

If you wish to be able to install multiple versions of node then NVM is for you.

To install version NVM and then after install version 0.12 of node:

curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
source ~/.bashrc
nvm install 0.12

Then to use:

nvm use 0.12

Always check https://github.com/creationix/nvm for new versions of NVM. When writing this the version was 0.25.0 I doubt it is the same if you read this.

Node Version Manager for the win.

  • I am working behind a corp-proxy. This the only solution I found that works for me. Thanks. Mar 8 '16 at 5:24

You can install Node.js 0.12 by ppa:rwky/nodejs PPA.

sudo add-apt-repository ppa:rwky/nodejs
sudo apt-get update
sudo apt-get install nodejs
  • 6
    Ok, but uh, who's rwky? Is he an official source? I actually don't like adding random ppa's like that...
    – yuvi
    Feb 17 '15 at 22:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.