From 5ecfad48c048cd397db0933f8958d1afb991b2b7 Mon Sep 17 00:00:00 2001 From: lucky code dog Date: Fri, 11 Dec 2015 19:14:23 +0800 Subject: [PATCH 1/2] Update README.markdown --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index c029551..1c83ba0 100644 --- a/README.markdown +++ b/README.markdown @@ -31,6 +31,7 @@ or Wget: wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`). + eg. source ~/.profile You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR`, and `PROFILE` variables. Eg: `curl ... | NVM_DIR="path/to/nvm" bash` From da03a34062cf2943c5650ac8996b6a5a561f51c4 Mon Sep 17 00:00:00 2001 From: lucky code dog Date: Fri, 11 Dec 2015 19:17:13 +0800 Subject: [PATCH 2/2] Update README.markdown --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 1c83ba0..543090a 100644 --- a/README.markdown +++ b/README.markdown @@ -30,8 +30,8 @@ or Wget: wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash -The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`). - eg. source ~/.profile +The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`). +Eg. `source ~/.profile` You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR`, and `PROFILE` variables. Eg: `curl ... | NVM_DIR="path/to/nvm" bash`