@docker/ubuntu
$ apt-get install -y nodejs npm
$ npm cache clean
$ npm install n -g
$ n stable
$ ln -sf /usr/local/bin/node /usr/bin/node
$ ln -sf /usr/local/bin/npm /usr/bin/npm
$ apt-get purge -y nodejs npm
$ chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}