npm install -g node@<version>
$ npm install -g n
$ n 6.10.3
$ npm install -g n
$ n 6.10.3
npm install -g n
n 6.10.3
$ npm install -g n
$ sudo mkdir -p /usr/local/n && sudo chown -R $(whoami) /usr/local/n && sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share && sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
$ n 6.10.3
$ node -v
v6.10.3