give ('git-versioned environment', name courtesy of @AvianFlu) is a git-based node.js version manager.
It allows you to install anything git can checkout:
give install v0.6.10
give install 3f43b1c039727e12c7a27fb31010aa309a4a35d8
give install master
It's also very fast - instead of doing
git checkout it uses
which is very fast on local repositories.
npm install -g give
give - git-based node.js version manager Usage: give install <commit-ish> Install <commit-ish> Examples: `give install v0.6.10` - installs `v0.6.10` tag `give install master` - installs `master` branch `give install 02c1cb5` - installs commit `02c1cb5` give use <commit-ish> Use <commit-ish> Spawns a subshell with correct version of node.js in the `$PATH`. give remote-ls [all] List available node.js versions Only lists tagged releases by default. give ls List installed node.js versions give rm <commit-ish> Remove <commit-ish> Removes both source and installation directory for <commit-ish>. give init Explicitely initialize repository Please note that `give` does it for you during operations which require repository setup. give help You're staring at it Environmental variables: These variables are already set to standard defaults, use wisely. NODE_REPO Full path to git repository NODE_PREFIX Path for node's install directory
give install v0.6.10 # will install version tagged as v0.6.10 give use v0.6.10 # will use version tagged as v0.6.10 ^D # will quit to original shell