Browse Source

[Docs] Improve git installation instructions

Christopher Beland 7 years ago committed by Jordan Harband
parent
commit
a954458829
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
  1. 4
      README.md

4
README.md

@ -127,8 +127,8 @@ If you have `git` installed (requires git v1.7+):
1. clone this repo in the root of your user profile 1. clone this repo in the root of your user profile
- `cd ~/` from anywhere then `git clone https://github.com/creationix/nvm.git .nvm` - `cd ~/` from anywhere then `git clone https://github.com/creationix/nvm.git .nvm`
1. check out the latest version with `git checkout v0.33.5` 2. `cd ~/.nvm` and check out the latest version with `git checkout v0.33.5`
1. activate nvm by sourcing it from your shell 3. activate nvm by sourcing it from your shell: `. nvm.sh`
Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login: Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
(you may have to add to more than one of the above files) (you may have to add to more than one of the above files)

Loading…
Cancel
Save