Easily setup NVM globally for rooted, multi-user, or CI environments
Shell
Switch branches/tags
Pull request Compare This branch is 12 commits ahead, 1317 commits behind creationix:master.
Latest commit 068e9e1 Aug 10, 2014 @tjwebb tjwebb Merge pull request #1 from thunderpenny/master
Change raw.github.com url to non-redirecting raw.githubusercontent.com
Permalink
Failed to load latest commit information.
test Fix the setup/teardown urchin test scripts under zsh Jun 7, 2013
.gitignore Ignoring the ".DS_Store" files on OS X Feb 27, 2013
.npmignore Add aliases to versions Jan 22, 2011
LICENSE.md Add LICENSE file. Closes #122. Aug 20, 2013
README.markdown
bash_completion Fixes issue 199 Mar 1, 2013
install-gitless.sh
install.sh install globally Dec 12, 2013
nvm.sh
nvm_bin.sh install globally Dec 12, 2013

README.markdown

nvm-global

nvm-global allows you to use nvm in production-like scenarios by installing it globally. nvm-global has been tested working on both Travis-CI and Jenkins, as well. Standard nvm has known difficulties working in multi-user or rooted environments.

Installation is the same as with standard nvm: https://github.com/creationix/nvm. The only difference is that it's you'll need to assert your root privileges with sudo, e.g.

wget -qO- https://raw.githubusercontent.com/xtuple/nvm/master/install.sh | sudo bash

This will install into /usr/local/nvm