From 0152bb120406b3ba605a184ea924ed772f05e9d6 Mon Sep 17 00:00:00 2001 From: rcmainak Date: Mon, 17 May 2021 19:25:02 +0530 Subject: [PATCH] Solve the issue with not updating the .*rc file when not installed with BASH --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fbd0ef4..5ca3efd 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,10 @@ nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be i To **install** or **update** nvm, you should run the [install script][2]. To do that, you may either download and run the script manually, or use the following cURL or Wget command: ```sh -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | $(which $SHELL ``` ```sh -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash +wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | $(which $SHELL ``` Running either of the above commands downloads a script and runs it. The script clones the nvm repository to `~/.nvm`, and attempts to add the source lines from the snippet below to the correct profile file (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).