Skip to content
Myr

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

4 files+11 added−11 removed

modified:install.sh+1 added-1 removed
17 unmodified lines
18 fi19}2021nvm_latest_version() {22 echo "v0.35.3"22 echo "v0.36.0"23}2425nvm_profile_is_bash_or_zsh() {26 local TEST_PROFILE
399 unmodified lines
modified:nvm.sh+1 added-1 removed
3645 unmodified lines
3646 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 lines
modified:package.json+1 added-1 removed
modified:README.md+8 added-8 removed
1# Node Version Manager [![Build Status](https://travis-ci.org/nvm-sh/nvm.svg?branch=master)][3] [![nvm version](https://img.shields.io/badge/version-v0.35.3-yellow.svg)][4] [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/684/badge)](https://bestpractices.coreinfrastructure.org/projects/684)1# Node Version Manager [![Build Status](https://travis-ci.org/nvm-sh/nvm.svg?branch=master)][3] [![nvm version](https://img.shields.io/badge/version-v0.36.0-yellow.svg)][4] [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/684/badge)](https://bestpractices.coreinfrastructure.org/projects/684)23<!-- 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 lines
58### Install & Update Script5960To **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```sh62curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash62curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash63```64```sh65wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash65wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash66```6768Running 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 lines
114115```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 lines
173If you have `git` installed (requires git v1.7.10+):1741751. clone this repo in the root of your user profile176 - `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`1771. `cd ~/.nvm` and check out the latest version with `git checkout v0.35.3`1771. `cd ~/.nvm` and check out the latest version with `git checkout v0.36.0`1781. activate `nvm` by sourcing it from your shell: `. nvm.sh`179180Now 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 lines
720If 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:721722```sh723apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils724curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash724curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash725```726727The 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 lines
817818To change the user directory and/or account name follow the instructions [here](https://support.apple.com/en-us/HT201548)819820[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