From 9f6280265a5aba213ad0c97393d74de43c3cc482 Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Sun, 22 Dec 2013 18:37:08 +0100 Subject: [PATCH] updated README --- README.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index f93f8f7..3ed58d8 100644 --- a/README.markdown +++ b/README.markdown @@ -6,7 +6,7 @@ First you'll need to make sure your system has a c++ compiler. For OSX, XCode w ### Install script -To install you could use the [install script](https://github.com/creationix/nvm/blob/v0.3.0/install.sh) (requires Git) using cURL: +To install you could use the [install script](https://github.com/creationix/nvm/blob/v0.3.0/install.sh) using cURL: curl https://raw.github.com/creationix/nvm/v0.3.0/install.sh | sh @@ -14,8 +14,11 @@ or Wget: wget -qO- https://raw.github.com/creationix/nvm/v0.3.0/install.sh | sh -The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile` or `~/.profile`). +The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`). +You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR` and `NVM_PROFILE` variables. Eg: `curl ... | NVM_DIR=/usr/local/nvm sh` for a global install. + +*NB. The installer can use Git, cURL or Wget to download NVM, whatever is available.* ### Manual install