Skip to content
Myr

v0.33.8

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 fa9c505 · Browse files · 4 files+10 added−10 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+10 added−10 removed

  • other:+10 added−10 removed

4 files+10 added−10 removed

modified:install.sh+1 added-1 removed
9 unmodified lines
10 printf %s "${NVM_DIR:-"$HOME/.nvm"}"11}1213nvm_latest_version() {14 echo "v0.33.7"14 echo "v0.33.8"15}1617nvm_profile_is_bash_or_zsh() {18 local TEST_PROFILE
377 unmodified lines
modified:nvm.sh+1 added-1 removed
3397 unmodified lines
3398 esac3399 NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}"3400 ;;3401 "--version" )3402 nvm_echo '0.33.7'3402 nvm_echo '0.33.8'3403 ;;3404 "unload" )3405 nvm deactivate >/dev/null 2>&13406 unset -f nvm \
139 unmodified lines
modified:package.json+1 added-1 removed
modified:README.md+7 added-7 removed
1# Node Version Manager [![Build Status](https://travis-ci.org/creationix/nvm.svg?branch=master)][3] [![nvm version](https://img.shields.io/badge/version-v0.33.7-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/creationix/nvm.svg?branch=master)][3] [![nvm version](https://img.shields.io/badge/version-v0.33.8-yellow.svg)][4] [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/684/badge)](https://bestpractices.coreinfrastructure.org/projects/684)23<!-- START doctoc generated TOC please keep comment here to allow auto update -->4<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->5## Table of Contents
34 unmodified lines
4041To install or update nvm, you can use the [install script][2] using cURL:4243```sh44curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash44curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash45```4647or Wget:4849```sh50wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash50wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash51```5253<sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).</sub>54
71 unmodified lines
126If you have `git` installed (requires git v1.7+):1271281. clone this repo in the root of your user profile129 - `cd ~/` from anywhere then `git clone https://github.com/creationix/nvm.git .nvm`1302. `cd ~/.nvm` and check out the latest version with `git checkout v0.33.7`1302. `cd ~/.nvm` and check out the latest version with `git checkout v0.33.8`1313. activate nvm by sourcing it from your shell: `. nvm.sh`132133Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:134(you may have to add to more than one of the above files)
351 unmodified lines
486If 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:487488```sh489apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils490curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash490curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash491```492493The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.494
58 unmodified lines
553554More on this issue in [dotphiles/dotzsh](https://github.com/dotphiles/dotzsh#mac-os-x).555556[1]: https://github.com/creationix/nvm.git557[2]: https://github.com/creationix/nvm/blob/v0.33.7/install.sh557[2]: https://github.com/creationix/nvm/blob/v0.33.8/install.sh558[3]: https://travis-ci.org/creationix/nvm559[4]: https://github.com/creationix/nvm/releases/tag/v0.33.7559[4]: https://github.com/creationix/nvm/releases/tag/v0.33.8560[Urchin]: https://github.com/scraperwiki/urchin561[Fish]: http://fishshell.com