From acfc459bc56ec92a1424f0e17c064f72e5d132a3 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 29 Sep 2014 21:43:58 -0700 Subject: [PATCH] Adding notes to the README for "stable", "unstable", and "system". --- README.markdown | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index a0eb70c..01cfb0b 100644 --- a/README.markdown +++ b/README.markdown @@ -56,6 +56,18 @@ Or, you can run any arbitrary command in a subshell with the desired version of nvm exec 0.10 node --version +In place of a version pointer like "0.10", you can use the special default aliases "stable" and "unstable": + + nvm install stable + nvm install unstable + nvm use stable + nvm run unstable --version + +If you want to use the system-installed version of node, you can use the special default alias "system": + + nvm use system + nvm run system --version + If you want to see what versions are installed: nvm ls @@ -70,7 +82,7 @@ To restore your PATH, you can deactivate it. To set a default Node version to be used in any new shell, use the alias 'default': - nvm alias default 0.10 + nvm alias default stable To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`: