From 451f5a54aa762c79b7afbfdc97a943065cf90bd9 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index eba57e1..184928d 100644 --- a/README.markdown +++ b/README.markdown @@ -14,8 +14,11 @@ or Wget: wget -qO- https://raw.github.com/creationix/nvm/master/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. There is also a [gitless installer](https://github.com/creationix/nvm/blob/master/install-gitless.sh) available, which accepts the same variables as the default installer.* ### Manual install