mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Docs]: Tell mac user to try again with zsh in the command
This commit is contained in:
parent
015623ee6d
commit
bc6b8f64e7
@ -96,7 +96,7 @@ Since OS X 10.9, `/usr/bin/git` has been preset by Xcode command line tools, whi
|
|||||||
|
|
||||||
If you get `nvm: command not found` after running the install script, one of the following might be the reason:
|
If you get `nvm: command not found` after running the install script, one of the following might be the reason:
|
||||||
|
|
||||||
- Since macOS 10.15, the default shell is `zsh` and nvm will look for `.zshrc` to update, none is installed by default. Create one with `touch ~/.zshrc` and run the install script again.
|
- Since macOS 10.15, the default shell is `zsh` and nvm will look for `.zshrc` to update, none is installed by default. Create one with `touch ~/.zshrc` and run the [install script](#install--update-script) again with `zsh` instead of `bash` in the command.
|
||||||
|
|
||||||
- If you use bash, the previous default shell, run `touch ~/.bash_profile` to create the necessary profile file if it does not exist.
|
- If you use bash, the previous default shell, run `touch ~/.bash_profile` to create the necessary profile file if it does not exist.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user