How to properly upgrade node using nvm
<p>Is it possible to upgrade <code>node</code> right in place, instead of manually installing the latest stable version? </p>

<p>I have installed <a href="https://nodejs.org/en/" rel="noreferrer">node.js</a> version <code>5.0</code> with <a href="https://github.com/creationix/nvm" rel="noreferrer"><code>nvm</code></a>, but now I want to update it to <code>5.4</code>. I'm trying to avoid having to manually reinstall all of my global packages (<em>e.g.</em> by running <code>npm install -g grunt-cli bower yo yoman-angular-generator blabla blablablabla</code>...).</p>