Skip to main content

Posts

Showing posts from 2017

Install node.js using NVM and Homebrew on Mac OS X

Reference:http://dev.topheman.com/install-nvm-with-homebrew-to-use-multiple-versions-of-node-and-iojs-easily/ Less than a month ago,  iojs  was released (multiple releases followed) and 6 days ago, the v0.12.0 of  node  was released. I still had the same v0.10.x (can’t remember the patch 🙂 ) of node on my computer I installed a few months ago … As a nodejs developer, I decided it was time  to get rid of my old version  and switch to  nvm  so that I could test my projects (websites and node modules) on different engines and versions – moreover not to be stuck in the case some module should only work on one or an other … This post is more a reminder for future me when I’ll make the install again, though it could help some people. First, you’ll need  Homebrew . If you’re a MacPorts user (or a Linux user), I assume it’s nearly the same, you may even have your own way which is faster and better, no need to troll 😉 – for Windows us...