From 5996e4364927b7d04445868dbc67fa4de7ff3a7c Mon Sep 17 00:00:00 2001 From: Michal Stanke Date: Wed, 16 Oct 2019 17:19:44 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e56fec9..beff69b 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,13 @@ To **install** or **update** nvm, you can use the [install script][2] using cURL: ```sh -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash +bash -c "$(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh)" ``` or Wget: ```sh -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash +bash -c "$(wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh)" ``` The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`). @@ -98,7 +98,7 @@ If the above doesn't fix the problem, open your `.bash_profile` and add the foll ``` - name: nvm - shell: bash -c "$(https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh)" + shell: bash -c "$(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh)" args: creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh" ``` @@ -644,7 +644,7 @@ If installing nvm on Alpine Linux *is* still what you want or need to do, you sh ```sh apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash +bash -c "$(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh)" ``` The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.