Thursday, April 30, 2015

Fastest idempotent way to install nodejs in Ubuntu

Originally I created a gist tailored at Ubuntu however a fastest way is just to use a Plain Old Bash script to install the binaries as presented here. This will work in any linux and MAC OSX.

3 comments:

Jose said...

Nice Nestor, check out https://github.com/creationix/nvm a lot of people have been using that lately, including myself and it works great. Really nice when you have to upgrade.

Nestor Urquiza said...

Thanks Jose. I will try nvm as soon as I have a chance and report back if that result in even faster installation.

Nestor Urquiza said...

nvm needs to touch bashrc, resource etc. It is also slower than just downloading from plain old bash.

Followers