还有另外一个选择,使用boxen管理环境,装https://
github.com/boxen/puppet-nodejs默认带了 nodenv 命令,比nvm方便
```
λ ~ nodenv help (node-v0.10.26) 17:32:59
Usage: nodenv <command> [<args>]
Some useful nodenv commands are:
exec Execute a command from a particular NodeJS version.
shell Set NODENV_VERSION for the lifetime of a shell.
local Persist the preferred NodeJS version in the cwd.
global Persist the preferred NodeJS default version.
install Install a version of NodeJS.
uninstall Uninstall a version of NodeJS.
version Show the current NodeJS version.
versions Display all versions of NodeJS installed in `${NODENV_ROOT}/versions/*'.
rehash Rehash nodenv shims (run this after installing executables)
See `nodenv help <command>' for information on a specific command.
```