Install Node Version Manager without the source line

1 · Evan Hahn · June 22, 2014, 5 a.m.
I like the Node Version Manager for, well, managing Node.js versions. When you install it, it adds a source to the bottom of your profile (effectively source nvm.sh). I didn't want it to do that during installation, though. I found myself pondering, "How do I disable that?" It's pretty easy, it turns out; you just tell it to redirect that source line elsewhere, like so: curl https://raw.githubusercontent.com/creationix/nvm/LATEST NVM VERSION HERE/install.sh | PROFILE=/dev/null sh The install sc...