You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ simply close your current terminal, open a new terminal, and try verifying again
84
84
85
85
**Note:** On OS X, if you get `nvm: command not found` after running the install script, one of the following might be the reason:-
86
86
87
-
- your system may not have a [`.bash_profile file`] where the command is set up. Simply create one with `touch ~/.bash_profile` and run the install script again
87
+
- your system may not have a `.bash_profile` file where the command is set up. Create one with `touch ~/.bash_profile` and run the install script again
88
88
- you might need to restart your terminal instance. Try opening a new tab/window in your terminal and retry.
89
89
90
90
If the above doesn't fix the problem, open your `.bash_profile` and add the following line of code:
@@ -112,7 +112,7 @@ To verify that nvm has been installed, do:
112
112
command -v nvm
113
113
```
114
114
115
-
which should output 'nvm' if the installation was successful. Please note that `which nvm` will not work, since `nvm` is a sourced shell function, not an executable binary.
115
+
which should output `nvm` if the installation was successful. Please note that `which nvm` will not work, since `nvm` is a sourced shell function, not an executable binary.
116
116
117
117
### Important Notes
118
118
@@ -142,15 +142,15 @@ If you're running a system without prepackaged binary available, which means you
142
142
143
143
**Note:** On OS X, if you have/had a "system" node installed and want to install modules globally, keep in mind that:
144
144
145
-
- When using nvm you do not need `sudo` to globally install a module with `npm -g`, so instead of doing `sudo npm install -g grunt`, do instead `npm install -g grunt`
146
-
- If you have an `~/.npmrc` file, make sure it does not contain any `prefix` settings (which is not compatible with nvm)
147
-
- You can (but should not?) keep your previous "system" node install, but nvm will only be available to your user account (the one used to install nvm). This might cause version mismatches, as other users will be using `/usr/local/lib/node_modules/*` VS your user account using `~/.nvm/versions/node/vX.X.X/lib/node_modules/*`
145
+
- When using `nvm` you do not need `sudo` to globally install a module with `npm -g`, so instead of doing `sudo npm install -g grunt`, do instead `npm install -g grunt`
146
+
- If you have an `~/.npmrc` file, make sure it does not contain any `prefix` settings (which is not compatible with `nvm`)
147
+
- You can (but should not?) keep your previous "system" node install, but `nvm` will only be available to your user account (the one used to install nvm). This might cause version mismatches, as other users will be using `/usr/local/lib/node_modules/*` VS your user account using `~/.nvm/versions/node/vX.X.X/lib/node_modules/*`
148
148
149
149
Homebrew installation is not supported. If you have issues with homebrew-installed `nvm`, please `brew uninstall` it, and install it using the instructions below, before filing an issue.
150
150
151
151
**Note:** If you're using `zsh` you can easily install `nvm` as a zsh plugin. Install [`zsh-nvm`](https://github.com/lukechilds/zsh-nvm) and run `nvm upgrade` to upgrade.
152
152
153
-
**Note:** Git versions before v1.7 may face a problem of cloning nvm source from GitHub via https protocol, and there is also different behavior of git before v1.6, and git prior to [v1.17.10](https://github.com/git/git/commit/5a7d5b683f869d3e3884a89775241afa515da9e7) can not clone tags, so the minimum required git version is v1.7.10. If you are interested in the problem we mentioned here, please refer to GitHub's [HTTPS cloning errors](https://help.github.com/articles/https-cloning-errors/) article.
153
+
**Note:** Git versions before v1.7 may face a problem of cloning `nvm` source from GitHub via https protocol, and there is also different behavior of git before v1.6, and git prior to [v1.17.10](https://github.com/git/git/commit/5a7d5b683f869d3e3884a89775241afa515da9e7) can not clone tags, so the minimum required git version is v1.7.10. If you are interested in the problem we mentioned here, please refer to GitHub's [HTTPS cloning errors](https://help.github.com/articles/https-cloning-errors/) article.
154
154
155
155
### Git install
156
156
@@ -159,7 +159,7 @@ If you have `git` installed (requires git v1.7.10+):
159
159
1. clone this repo in the root of your user profile
160
160
-`cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`
161
161
1.`cd ~/.nvm` and check out the latest version with `git checkout v0.34.0`
162
-
1. activate nvm by sourcing it from your shell: `. nvm.sh`
162
+
1. activate `nvm` by sourcing it from your shell: `. nvm.sh`
163
163
164
164
Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
165
165
(you may have to add to more than one of the above files)
@@ -172,7 +172,7 @@ export NVM_DIR="$HOME/.nvm"
172
172
173
173
### Manual Install
174
174
175
-
For a fully manual install, execute the following lines to first clone the nvm repository into `$HOME/.nvm`, and then load nvm:
175
+
For a fully manual install, execute the following lines to first clone the `nvm` repository into `$HOME/.nvm`, and then load `nvm`:
0 commit comments