Skip to content

Commit 14e27b2

Browse files
PeterDaveHelloljharb
authored andcommitted
[Doc] Add macOS install script note about Git
Closes #1782
1 parent ca66a13 commit 14e27b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ command -v nvm
7171
```
7272
simply close your current terminal, open a new terminal, and try verifying again.
7373

74+
**Note:** Since OS X 10.9, `/usr/bin/git` was preset by Xcode command line tools, which caused Git can't be properly detected if it's installed or not, you need to manually install Git before running the install script, otherwise, it'll failed. ((see [#1782](https://github.com/creationix/nvm/issues/1782))
75+
7476
**Note:** On OS X, if you get `nvm: command not found` after running the install script, one of the following might be the reason:-
7577
- 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
7678
- you might need to restart your terminal instance. Try opening a new tab/window in your terminal and retry.

0 commit comments

Comments
 (0)