From 1938f6931cf3dcfa655aa3a551de0d82ccb4320d Mon Sep 17 00:00:00 2001 From: Tim Caswell Date: Thu, 6 May 2010 18:33:46 -0500 Subject: [PATCH] Fix a typo in the docs. --- README.markdown | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index c688286..2f9c833 100644 --- a/README.markdown +++ b/README.markdown @@ -12,10 +12,10 @@ Or if you have `git` installed, then just clone it: Then add two lines to your bash profile: - . $NVM_DIR/nvm.sh + . $HOME/.nvm/nvm.sh nvm use -The first line loads the nvm function into your bash shell so that it's available as a command. The second line sets your default node version to the latest released version. +The first line loads the `nvm` function into your bash shell so that it's available as a command. The second line sets your default node version to the latest released version. ## Usage @@ -41,4 +41,6 @@ When you want to grab the latest from the node repo do: If you want to see what versions you have installed issue: - nvm list \ No newline at end of file + nvm list + +If you want to install nvm to somewhere other than `$HOME/.nvm`, then set the `$NVM_DIR` environment variable before sourcing the nvm.sh file. \ No newline at end of file