|
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 -->
|
@@ -64,10 +64,10 @@ nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be i
|
64 | 64 |
|
65 | 65 | 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:
|
66 | 66 | ```sh
|
67 |
| -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash |
| 67 | +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash |
68 | 68 | ```
|
69 | 69 | ```sh
|
70 |
| -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash |
| 70 | +wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash |
71 | 71 | ```
|
72 | 72 |
|
73 | 73 | 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`).
|
@@ -133,7 +133,7 @@ You can use a task:
|
133 | 133 | ```yaml
|
134 | 134 | - name: nvm
|
135 | 135 | shell: >
|
136 |
| - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash |
| 136 | + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash |
137 | 137 | args:
|
138 | 138 | creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
|
139 | 139 | ```
|
@@ -193,7 +193,7 @@ If you have `git` installed (requires git v1.7.10+):
|
193 | 193 |
|
194 | 194 | 1. clone this repo in the root of your user profile
|
195 | 195 | - `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`
|
196 |
| -1. `cd ~/.nvm` and check out the latest version with `git checkout v0.37.2` |
| 196 | +1. `cd ~/.nvm` and check out the latest version with `git checkout v0.38.0` |
197 | 197 | 1. activate `nvm` by sourcing it from your shell: `. ./nvm.sh`
|
198 | 198 |
|
199 | 199 | Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
|
@@ -772,7 +772,7 @@ If installing nvm on Alpine Linux *is* still what you want or need to do, you sh
|
772 | 772 |
|
773 | 773 | ```sh
|
774 | 774 | apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
|
775 |
| -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash |
| 775 | +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash |
776 | 776 | ```
|
777 | 777 |
|
778 | 778 | The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.
|
@@ -869,9 +869,9 @@ You have to make sure that the user directory name in `$HOME` and the user direc
|
869 | 869 | To change the user directory and/or account name follow the instructions [here](https://support.apple.com/en-us/HT201548)
|
870 | 870 |
|
871 | 871 | [1]: https://github.com/nvm-sh/nvm.git
|
872 |
| -[2]: https://github.com/nvm-sh/nvm/blob/v0.37.2/install.sh |
| 872 | +[2]: https://github.com/nvm-sh/nvm/blob/v0.38.0/install.sh |
873 | 873 | [3]: https://travis-ci.org/nvm-sh/nvm
|
874 |
| -[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.37.2 |
| 874 | +[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.38.0 |
875 | 875 | [Urchin]: https://github.com/scraperwiki/urchin
|
876 | 876 | [Fish]: http://fishshell.com
|
877 | 877 |
|
|
0 commit comments