v0.37.1
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Jordan Harband · committed by Jordan Harband · parent 510b2fd · Browse files · 4 files·+11 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+11 added−11 removed
- other:+11 added−11 removed
Provenance
- Commit
661a702- Tree
2d8886d- Author
Jordan Harband <ljharb@gmail.com>- Committer
Jordan Harband <ljharb@gmail.com>- Parent
510b2fd
4 files changed+11 added−11 removed
modified:install.sh+1 added-1 removed
17 unmodified lines18 fi19 }20 21 nvm_latest_version() {22- echo "v0.37.0"22+ echo "v0.37.1"23 }24 25 nvm_profile_is_bash_or_zsh() {26 local TEST_PROFILE399 unmodified linesmodified:nvm.sh+1 added-1 removed
3896 unmodified lines3897 esac3898 NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}"3899 ;;3900 "--version" | "-v")3901- nvm_echo '0.37.0'3901+ nvm_echo '0.37.1'3902 ;;3903 "unload")3904 nvm deactivate >/dev/null 2>&13905 unset -f nvm \218 unmodified linesmodified:package.json+1 added-1 removed
1233456739 unmodified lines{ "name": "nvm", "version": "0.37.0", "version": "0.37.1", "description": "Node Version Manager - Simple bash script to manage multiple active node.js versions", "directories": { "test": "test" },39 unmodified linesmodified:README.md+8 added-8 removed
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 3 <!-- To update this table of contents, ensure you have run `npm install` then `npm run doctoc` -->4 <!-- START doctoc generated TOC please keep comment here to allow auto update -->5 <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->54 unmodified lines60 ### Install & Update Script61 62 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:63 ```sh64-curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash64+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.1/install.sh | bash65 ```66 ```sh67-wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash67+wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.1/install.sh | bash68 ```69 70 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`).71 44 unmodified lines116 117 ```yaml118 - name: nvm119 shell: >120- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash120+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.1/install.sh | bash121 args:122 creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"123 ```124 50 unmodified lines175 If you have `git` installed (requires git v1.7.10+):176 177 1. clone this repo in the root of your user profile178 - `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`179-1. `cd ~/.nvm` and check out the latest version with `git checkout v0.37.0`179+1. `cd ~/.nvm` and check out the latest version with `git checkout v0.37.1`180 1. activate `nvm` by sourcing it from your shell: `. nvm.sh`181 182 Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:183 (you may have to add to more than one of the above files)575 unmodified lines759 If installing nvm on Alpine Linux *is* still what you want or need to do, you should be able to achieve this by running the following from you Alpine Linux shell:760 761 ```sh762 apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils763-curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash763+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.1/install.sh | bash764 ```765 766 The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.767 88 unmodified lines856 857 To change the user directory and/or account name follow the instructions [here](https://support.apple.com/en-us/HT201548)858 859 [1]: https://github.com/nvm-sh/nvm.git860-[2]: https://github.com/nvm-sh/nvm/blob/v0.37.0/install.sh860+[2]: https://github.com/nvm-sh/nvm/blob/v0.37.1/install.sh861 [3]: https://travis-ci.org/nvm-sh/nvm862-[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.37.0862+[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.37.1863 [Urchin]: https://github.com/scraperwiki/urchin864 [Fish]: http://fishshell.com