From 2cfced740afdc3223d05f34dc1a1d80b1f1621f2 Mon Sep 17 00:00:00 2001 From: Danny Neumann Date: Thu, 27 Jan 2022 10:53:36 -0800 Subject: [PATCH] [Docs] Add note about creating .bashrc file *as well as* .bash_profile. My problem was that I didn't have EITHER file, and hopefully the notes will help someone else reading the docs. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c653c50..28d6f47 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ If you get `nvm: command not found` after running the install script, one of the - 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. - - If you use bash, the previous default shell, 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. Then, run `source ~/.bash_profile` to pick up the `nvm` command. + - If you use bash, the previous default shell, your system may not have `.bash_profile` or `.bashrc` files where the command is set up. Create one of them with `touch ~/.bash_profile` or `touch ~/.bashrc` and run the install script again. Then, run `. ~/.bash_profile` or `. ~/.bashrc` to pick up the `nvm` command. - You have previously used `bash`, but you have `zsh` installed. You need to manually add [these lines](#manual-install) to `~/.zshrc` and run `. ~/.zshrc`.