[Node.js] How to Install the Version Management Tool nvm on Mac

Tadashi Shigeoka ·  Sat, February 2, 2013

A memo on how to install “nvm”, a Node.js version management tool, on Mac. (Last updated: 2014/11/19)

creationix/nvm · GitHub

Installing nvm

git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
source ~/.nvm/nvm.sh

Before installing Node.js with nvm install, install necessary libraries

[Mac] OpenSSL を Homebrew でインストールする方法

If you don’t install pkg-config, “Checking for openssl : no” will be displayed when installing Node.js.

brew install pkg-config

Installing Node.js

nvm install v0.11.3

That’s all from the Gemba.