|
1 |
| -# Node Version Manager [][3] [][4] [](https://bestpractices.coreinfrastructure.org/projects/684) |
| 1 | +# Node Version Manager [][3] [][4] [](https://bestpractices.coreinfrastructure.org/projects/684) |
2 | 2 |
|
3 | 3 | <!-- To update this table of contents, ensure you have run `npm install` then `npm run doctoc` -->
|
4 | 4 | <!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
@@ -59,10 +59,10 @@ nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be i
|
59 | 59 |
|
60 | 60 | 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:
|
61 | 61 | ```sh
|
62 |
| -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash |
| 62 | +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash |
63 | 63 | ```
|
64 | 64 | ```sh
|
65 |
| -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash |
| 65 | +wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash |
66 | 66 | ```
|
67 | 67 |
|
68 | 68 | 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`).
|
@@ -115,7 +115,7 @@ You can use a task:
|
115 | 115 | ```yaml
|
116 | 116 | - name: nvm
|
117 | 117 | shell: >
|
118 |
| - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash |
| 118 | + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash |
119 | 119 | args:
|
120 | 120 | creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
|
121 | 121 | ```
|
@@ -174,7 +174,7 @@ If you have `git` installed (requires git v1.7.10+):
|
174 | 174 |
|
175 | 175 | 1. clone this repo in the root of your user profile
|
176 | 176 | - `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`
|
177 |
| -1. `cd ~/.nvm` and check out the latest version with `git checkout v0.36.0` |
| 177 | +1. `cd ~/.nvm` and check out the latest version with `git checkout v0.37.0` |
178 | 178 | 1. activate `nvm` by sourcing it from your shell: `. nvm.sh`
|
179 | 179 |
|
180 | 180 | Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
|
@@ -722,7 +722,7 @@ If installing nvm on Alpine Linux *is* still what you want or need to do, you sh
|
722 | 722 |
|
723 | 723 | ```sh
|
724 | 724 | apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
|
725 |
| -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash |
| 725 | +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash |
726 | 726 | ```
|
727 | 727 |
|
728 | 728 | The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.
|
@@ -819,8 +819,8 @@ You have to make sure that the user directory name in `$HOME` and the user direc
|
819 | 819 | To change the user directory and/or account name follow the instructions [here](https://support.apple.com/en-us/HT201548)
|
820 | 820 |
|
821 | 821 | [1]: https://github.com/nvm-sh/nvm.git
|
822 |
| -[2]: https://github.com/nvm-sh/nvm/blob/v0.36.0/install.sh |
| 822 | +[2]: https://github.com/nvm-sh/nvm/blob/v0.37.0/install.sh |
823 | 823 | [3]: https://travis-ci.org/nvm-sh/nvm
|
824 |
| -[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.36.0 |
| 824 | +[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.37.0 |
825 | 825 | [Urchin]: https://github.com/scraperwiki/urchin
|
826 | 826 | [Fish]: http://fishshell.com
|
0 commit comments