[meta] update repo links to point to org
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 ff77ac1 · Browse files · 8 files·+35 added−35 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
8 files+35 added−35 removed
- tests:+4 added−4 removed
- other:+31 added−31 removed
Provenance
- Commit
e7a5b79- Tree
cff607f- Author
Jordan Harband <ljharb@gmail.com>- Committer
Jordan Harband <ljharb@gmail.com>- Parent
ff77ac1
8 files changed+35 added−35 removed
modified:test/fast/Unit tests/nvm_change_path+1 added-1 removed
41 unmodified lines42 43 [ "$NEW_PATH" = "$NVM_DIR/v0.1.2/bin" ] || die "Not correctly prepended: $NEW_PATH "44 45 46-# https://github.com/creationix/nvm/issues/1652#issuecomment-34257122346+# https://github.com/nvm-sh/nvm/issues/1652#issuecomment-34257122347 MAC_OS_NESTED_SESSION_PATH=/usr/bin:/usr/local/bin:$NVM_DIR/versions/node/v4.5.0/bin48 49 # New version dir50 NEW_PATH=`nvm_change_path "$MAC_OS_NESTED_SESSION_PATH" "/bin" "$NVM_DIR/versions/node/v7.1.0"`7 unmodified linesmodified:test/slow/nvm uninstall/Running "nvm uninstall 0.12.6" uninstalls v0.12.6+1 added-1 removed
18 unmodified lines19 20 # Switch to another version so we can uninstall21 nvm use 0.12.722 23-# if zsh, set "nomatch" opt to reproduce failure from https://github.com/creationix/nvm/issues/122823+# if zsh, set "nomatch" opt to reproduce failure from https://github.com/nvm-sh/nvm/issues/122824 if nvm_has "setopt"; then25 setopt nomatch26 fi27 6 unmodified linesmodified:test/slow/nvm_get_latest/nvm_get_latest+2 added-2 removed
7 unmodified lines8 9 \. ../../../nvm.sh10 11 EXPECTED_VERSION="v12.3.456"12-URL="https://github.com/creationix/nvm/releases/tag/$EXPECTED_VERSION"12+URL="https://github.com/nvm-sh/nvm/releases/tag/$EXPECTED_VERSION"13 EXPECTED_CURL_ARGS="--compressed -q -w %{url_effective}\n -L -s -S http://latest.nvm.sh -o /dev/null"14 EXPECTED_WGET_ARGS="-q http://latest.nvm.sh --server-response -O /dev/null"15 16 curl() {16 unmodified lines33 else34 local WGET_CONTENTS35 WGET_CONTENTS="36 HTTP/1.1 301 Moved Permanently37- Location: https://github.com/creationix/nvm/releases/latest37+ Location: https://github.com/nvm-sh/nvm/releases/latest38 Content-Type: text/html; charset=utf-839 Content-Length: 8440 Date: Mon, 22 Dec 2014 02:11:15 GMT41 HTTP/1.1 302 Found60 unmodified linesmodified:install.sh+4 added-4 removed
49 unmodified lines50 NVM_METHOD="$1"51 local NVM_SOURCE_URL52 NVM_SOURCE_URL="$NVM_SOURCE"53 if [ "_$NVM_METHOD" = "_script-nvm-exec" ]; then54- NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm-exec"54+ NVM_SOURCE_URL="https://raw.githubusercontent.com/nvm-sh/nvm/$(nvm_latest_version)/nvm-exec"55 elif [ "_$NVM_METHOD" = "_script-nvm-bash-completion" ]; then56- NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/bash_completion"56+ NVM_SOURCE_URL="https://raw.githubusercontent.com/nvm-sh/nvm/$(nvm_latest_version)/bash_completion"57 elif [ -z "$NVM_SOURCE_URL" ]; then58 if [ "_$NVM_METHOD" = "_script" ]; then59- NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm.sh"59+ NVM_SOURCE_URL="https://raw.githubusercontent.com/nvm-sh/nvm/$(nvm_latest_version)/nvm.sh"60 elif [ "_$NVM_METHOD" = "_git" ] || [ -z "$NVM_METHOD" ]; then61- NVM_SOURCE_URL="https://github.com/creationix/nvm.git"61+ NVM_SOURCE_URL="https://github.com/nvm-sh/nvm.git"62 else63 echo >&2 "Unexpected value \"$NVM_METHOD\" for \$NVM_METHOD"64 return 165 fi364 unmodified linesmodified:nvm.sh+1 added-1 removed
644 unmodified lines645 nvm_echo "${3-}${2-}:${1-}"646 # if the initial path contains BOTH an nvm path (checked for above) and647 # that nvm path is preceded by a system binary path, just prepend the648 # supplementary path instead of replacing it.649- # https://github.com/creationix/nvm/issues/1652#issuecomment-342571223649+ # https://github.com/nvm-sh/nvm/issues/1652#issuecomment-342571223650 elif nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/[^/]*${2-}" \651 || nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then652 nvm_echo "${3-}${2-}:${1-}"653 # use sed to replace the existing nvm path with the supplementary path. This3000 unmodified linesmodified:package.json+3 added-3 removed
18 unmodified lines192021222323242526273 unmodified lines313233343535363737383940415 unmodified lines18 unmodified lines "dockerfile_lint": "dockerfile_lint" }, "repository": { "type": "git", "url": "git://github.com/creationix/nvm.git" "url": "git://github.com/nvm-sh/nvm.git" }, "keywords": [ "nvm", "node",3 unmodified lines ], "author": "Tim Caswell <tim@creationix.com>", "license": "MIT", "bugs": { "url": "https://github.com/creationix/nvm/issues" "url": "https://github.com/nvm-sh/nvm/issues" }, "homepage": "https://github.com/creationix/nvm", "homepage": "https://github.com/nvm-sh/nvm", "devDependencies": { "dockerfile_lint": "^0.3.2", "eclint": "^2.6.0", "replace": "^0.3.0",5 unmodified linesmodified:README.md+18 added-18 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 <!-- 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 Contents40 unmodified lines46 47 To **install** or **update** nvm, you can use the [install script][2] using cURL:48 49 ```sh50-curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash50+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash51 ```52 53 or Wget:54 55 ```sh56-wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash56+wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash57 ```58 59 <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).</sub>60 18 unmodified lines79 ```80 81 simply close your current terminal, open a new terminal, and try verifying again.82 83-**Note:** Since OS X 10.9, `/usr/bin/git` has been preset by Xcode command line tools, which means we can't properly detect if Git is installed or not. You need to manually install the Xcode command line tools before running the install script, otherwise, it'll fail. (see [#1782](https://github.com/creationix/nvm/issues/1782))83+**Note:** Since OS X 10.9, `/usr/bin/git` has been preset by Xcode command line tools, which means we can't properly detect if Git is installed or not. You need to manually install the Xcode command line tools before running the install script, otherwise, it'll fail. (see [#1782](https://github.com/nvm-sh/nvm/issues/1782))84 85 **Note:** On OS X, if you get `nvm: command not found` after running the install script, one of the following might be the reason:-86 87 - your system may not have a [`.bash_profile file`] where the command is set up. Simply create one with `touch ~/.bash_profile` and run the install script again2 unmodified lines90 If the above doesn't fix the problem, open your `.bash_profile` and add the following line of code:91 92 `source ~/.bashrc`93 94-- For more information about this issue and possible workarounds, please [refer here](https://github.com/creationix/nvm/issues/576)94+- For more information about this issue and possible workarounds, please [refer here](https://github.com/nvm-sh/nvm/issues/576)95 96 #### Ansible97 You can use a task:98 99 ```100 - name: nvm101 shell: >102- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash102+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash103 args:104 creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"105 ```106 10 unmodified lines117 ### Important Notes118 119 If you're running a system without prepackaged binary available, which means you're going to install nodejs or io.js from its source code, you need to make sure your system has a C++ compiler. For OS X, Xcode will work, for Debian/Ubuntu based GNU/Linux, the `build-essential` and `libssl-dev` packages work.120 121-**Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us:121+**Note:** `nvm` does not support Windows (see [#284](https://github.com/nvm-sh/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us:122 123 - [nvm-windows](https://github.com/coreybutler/nvm-windows)124 - [nodist](https://github.com/marcelklehr/nodist)125 126-**Note:** `nvm` does not support [Fish] either (see [#303](https://github.com/creationix/nvm/issues/303)). Alternatives exist, which are neither supported nor developed by us:126+**Note:** `nvm` does not support [Fish] either (see [#303](https://github.com/nvm-sh/nvm/issues/303)). Alternatives exist, which are neither supported nor developed by us:127 128 - [bass](https://github.com/edc/bass) allows you to use utilities written for Bash in fish shell129 - [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup130 - [plugin-nvm](https://github.com/derekstavis/plugin-nvm) plugin for [Oh My Fish](https://github.com/oh-my-fish/oh-my-fish), which makes nvm and its completions available in fish shell1 unmodified line132 - [fish-nvm](https://github.com/FabioAntunes/fish-nvm) - Wrapper around nvm for fish, delays sourcing nvm until it's actually used.133 134 **Note:** We still have some problems with FreeBSD, because there is no official pre-built binary for FreeBSD, and building from source may need [patches](https://www.freshports.org/www/node/files/patch-deps_v8_src_base_platform_platform-posix.cc); see the issue ticket:135 136- - [[#900] [Bug] nodejs on FreeBSD may need to be patched](https://github.com/creationix/nvm/issues/900)136+ - [[#900] [Bug] nodejs on FreeBSD may need to be patched](https://github.com/nvm-sh/nvm/issues/900)137 - [nodejs/node#3716](https://github.com/nodejs/node/issues/3716)138 139 **Note:** On OS X, if you do not have Xcode installed and you do not wish to download the ~4.3GB file, you can install the `Command Line Tools`. You can check out this blog post on how to just that:140 15 unmodified lines156 157 If you have `git` installed (requires git v1.7.10+):158 159 1. clone this repo in the root of your user profile160- - `cd ~/` from anywhere then `git clone https://github.com/creationix/nvm.git .nvm`160+ - `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`161 1. `cd ~/.nvm` and check out the latest version with `git checkout v0.34.0`162 1. activate nvm by sourcing it from your shell: `. nvm.sh`163 164 Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:10 unmodified lines175 For a fully manual install, execute the following lines to first clone the nvm repository into `$HOME/.nvm`, and then load nvm:176 177 ```sh178 export NVM_DIR="$HOME/.nvm" && (179- git clone https://github.com/creationix/nvm.git "$NVM_DIR"179+ git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR"180 cd "$NVM_DIR"181 git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`182 ) && \. "$NVM_DIR/nvm.sh"183 ```444 unmodified lines628 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:629 630 ```sh631 apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils632-curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash632+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash633 ```634 635 The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.636 54 unmodified lines691 - If you try to install a node version and the installation fails, be sure to delete the node downloads from src (`~/.nvm/src/`) or you might get an error when trying to reinstall them again or you might get an error like the following:692 693 curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.694 695- - Where's my `sudo node`? Check out [#43](https://github.com/creationix/nvm/issues/43)695+ - Where's my `sudo node`? Check out [#43](https://github.com/nvm-sh/nvm/issues/43)696 697 - After the v0.8.6 release of node, nvm tries to install from binary packages. But in some systems, the official binary packages don't work due to incompatibility of shared libs. In such cases, use `-s` option to force install from source:698 699 ```sh700 nvm install -s 0.8.6701 ```702 703- - If 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))703+ - If 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/nvm-sh/nvm/issues/658))704 705 ## Mac OS "troubleshooting"706 707 **nvm node version not found in vim shell**5 unmodified lines713 ```714 715 More on this issue in [dotphiles/dotzsh](https://github.com/dotphiles/dotzsh#mac-os-x).716 717-[1]: https://github.com/creationix/nvm.git718-[2]: https://github.com/creationix/nvm/blob/v0.34.0/install.sh719-[3]: https://travis-ci.org/creationix/nvm720-[4]: https://github.com/creationix/nvm/releases/tag/v0.34.0717+[1]: https://github.com/nvm-sh/nvm.git718+[2]: https://github.com/nvm-sh/nvm/blob/v0.34.0/install.sh719+[3]: https://travis-ci.org/nvm-sh/nvm720+[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.34.0721 [Urchin]: https://github.com/scraperwiki/urchin722 [Fish]: http://fishshell.commodified:ROADMAP.md+5 added-5 removed
12345678956789# nvm Road Map
This is a list of the primary features planned for `nvm`:
- [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/creationix/nvm/issues/1188). - This will include [reusing previously downloaded tarballs](https://github.com/creationix/nvm/issues/1193) that match checksums, which is a nice performance and bandwidth bonus.- [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/creationix/nvm/issues/779), and [nightly builds](https://github.com/creationix/nvm/issues/1053).- [ ] [`nvm update`](https://github.com/creationix/nvm/issues/400): the ability to autoupdate `nvm` itself- [ ] [v1.0.0](https://github.com/creationix/nvm/milestone/1), including updating the [nvm on npm](https://github.com/creationix/nvm/issues/304) to auto-install nvm properly- [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/nvm-sh/nvm/issues/1188). - This will include [reusing previously downloaded tarballs](https://github.com/nvm-sh/nvm/issues/1193) that match checksums, which is a nice performance and bandwidth bonus.- [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/nvm-sh/nvm/issues/779), and [nightly builds](https://github.com/nvm-sh/nvm/issues/1053).- [ ] [`nvm update`](https://github.com/nvm-sh/nvm/issues/400): the ability to autoupdate `nvm` itself- [ ] [v1.0.0](https://github.com/nvm-sh/nvm/milestone/1), including updating the [nvm on npm](https://github.com/nvm-sh/nvm/issues/304) to auto-install nvm properly