Skip to content
Myr

Merge remote-tracking branch 'creationix/master' into install-fix-quotes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dave May · committed by Dave May · parents f113c5d, 8ec056f · Browse files · 4 files+6 added−6 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+6 added−6 removed

  • other:+6 added−6 removed

4 files+6 added−6 removed

modified:install.sh+1 added-1 removed
9 unmodified lines
10 NVM_DIR="$HOME/.nvm"11fi1213nvm_latest_version() {14 echo "v0.29.0"14 echo "v0.30.0"15}1617#18# Outputs the location to NVM depending on:
249 unmodified lines
modified:nvm.sh+1 added-1 removed
2277 unmodified lines
2278 "version-remote" )2279 nvm_remote_version "$2"2280 ;;2281 "--version" )2282 echo "0.29.0"2282 echo "0.30.0"2283 ;;2284 "unload" )2285 unset -f nvm nvm_print_versions nvm_checksum \2286 nvm_iojs_prefix nvm_node_prefix \
52 unmodified lines
modified:package.json+1 added-1 removed
modified:README.markdown+3 added-3 removed
23 unmodified lines
24### Install script2526To install or update nvm, you can use the [install script][2] using cURL:2728 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash28 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.0/install.sh | bash2930or Wget:3132 wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash32 wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.0/install.sh | bash3334<sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub>3536You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR`, and `PROFILE` variables.
216 unmodified lines
253254If setting the `default` alias does not establish the node version in new shells (i.e. `nvm current` yields `system`), ensure that the system's node PATH is set before the `nvm.sh` source line in your shell profile (see [#658](https://github.com/creationix/nvm/issues/658))255256[1]: https://github.com/creationix/nvm.git257[2]: https://github.com/creationix/nvm/blob/v0.29.0/install.sh257[2]: https://github.com/creationix/nvm/blob/v0.30.0/install.sh258[3]: https://travis-ci.org/creationix/nvm259[Urchin]: https://github.com/scraperwiki/urchin260[Fish]: http://fishshell.com