v0.36.0
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 c7ca08d · 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
8debf39- Tree
ada3b5a- Author
Jordan Harband <ljharb@gmail.com>- Committer
Jordan Harband <ljharb@gmail.com>- Parent
c7ca08d
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.35.3"22+ echo "v0.36.0"23 }24 25 nvm_profile_is_bash_or_zsh() {26 local TEST_PROFILE399 unmodified linesmodified:nvm.sh+1 added-1 removed
3645 unmodified lines3646 esac3647 NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}"3648 ;;3649 "--version" | "-v")3650- nvm_echo '0.35.3'3650+ nvm_echo '0.36.0'3651 ;;3652 "unload")3653 nvm deactivate >/dev/null 2>&13654 unset -f nvm \203 unmodified linesmodified:package.json+1 added-1 removed
1233456739 unmodified lines{ "name": "nvm", "version": "0.35.3", "version": "0.36.0", "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 -->52 unmodified lines58 ### Install & Update Script59 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 ```sh62-curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash62+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash63 ```64 ```sh65-wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash65+wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash66 ```67 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`).69 44 unmodified lines114 115 ```yaml116 - name: nvm117 shell: >118- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash118+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash119 args:120 creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"121 ```122 50 unmodified lines173 If you have `git` installed (requires git v1.7.10+):174 175 1. clone this repo in the root of your user profile176 - `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.35.3`177+1. `cd ~/.nvm` and check out the latest version with `git checkout v0.36.0`178 1. activate `nvm` by sourcing it from your shell: `. nvm.sh`179 180 Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:181 (you may have to add to more than one of the above files)538 unmodified lines720 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:721 722 ```sh723 apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils724-curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash724+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash725 ```726 727 The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.728 88 unmodified lines817 818 To change the user directory and/or account name follow the instructions [here](https://support.apple.com/en-us/HT201548)819 820 [1]: https://github.com/nvm-sh/nvm.git821-[2]: https://github.com/nvm-sh/nvm/blob/v0.35.3/install.sh821+[2]: https://github.com/nvm-sh/nvm/blob/v0.36.0/install.sh822 [3]: https://travis-ci.org/nvm-sh/nvm823-[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.35.3823+[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.36.0824 [Urchin]: https://github.com/scraperwiki/urchin825 [Fish]: http://fishshell.com