Compare commits
208 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93990ab7da | ||
|
|
61c7b133f8 | ||
|
|
177a9673a7 | ||
|
|
db98f8cdaf | ||
|
|
1b14e6b4d9 | ||
|
|
f060867f15 | ||
|
|
0da699605e | ||
|
|
d9dc8464fd | ||
|
|
0731003cfe | ||
|
|
ca66a13710 | ||
|
|
8ff437ae51 | ||
|
|
b15709e637 | ||
|
|
8b71861d06 | ||
|
|
68fe26a5e4 | ||
|
|
37e0977e60 | ||
|
|
918a39a0d0 | ||
|
|
52f1b24895 | ||
|
|
74ff70aab3 | ||
|
|
663bddee9b | ||
|
|
bc87d3dd1c | ||
|
|
d8689f6b9a | ||
|
|
0e3bb2cc47 | ||
|
|
2850e65b62 | ||
|
|
2859a19bbd | ||
|
|
d6fa67166c | ||
|
|
25b7f264d5 | ||
|
|
5fc8bd950d | ||
|
|
750571056c | ||
|
|
544c3f4caa | ||
|
|
5f53caadad | ||
|
|
9c42470347 | ||
|
|
9f34b3e95c | ||
|
|
41ec44f6b5 | ||
|
|
2cd2c0f72e | ||
|
|
f3076d14c9 | ||
|
|
bb803492d8 | ||
|
|
f290ccf1d5 | ||
|
|
225e447b54 | ||
|
|
77da9f5a6d | ||
|
|
3ed47431f8 | ||
|
|
aad269d224 | ||
|
|
74f455e610 | ||
|
|
f5b5f2d41d | ||
|
|
a23f7169a6 | ||
|
|
71032cfaa1 | ||
|
|
6dd9ecb607 | ||
|
|
7ca8acc98d | ||
|
|
d34bb3247d | ||
|
|
3e81904525 | ||
|
|
7cba6cd6d0 | ||
|
|
9273f23bc8 | ||
|
|
2a259435c8 | ||
|
|
2a8a81da94 | ||
|
|
fce7f4ed13 | ||
|
|
7ad6d98ced | ||
|
|
fa9c50520d | ||
|
|
4846d57c69 | ||
|
|
65f0572bdc | ||
|
|
b6a7a54d04 | ||
|
|
8a8dcbb393 | ||
|
|
bacdd95591 | ||
|
|
4b0563093c | ||
|
|
c7ac69bfbb | ||
|
|
a57fe846e8 | ||
|
|
7bfd1e0644 | ||
|
|
9352f6913a | ||
|
|
16d3e6d2dc | ||
|
|
91a29c0da2 | ||
|
|
4b48556e92 | ||
|
|
be171bba33 | ||
|
|
049a86022f | ||
|
|
a7b7eec0c5 | ||
|
|
9953a52afb | ||
|
|
fc30e0ade4 | ||
|
|
b546436113 | ||
|
|
016bc134d5 | ||
|
|
9c25a8f316 | ||
|
|
a954458829 | ||
|
|
09951b49c5 | ||
|
|
3b133fac2f | ||
|
|
6ac8ebafba | ||
|
|
62fb0d0ad6 | ||
|
|
a461a0fffc | ||
|
|
6597e11971 | ||
|
|
707d268a76 | ||
|
|
73ad812215 | ||
|
|
8c578b864d | ||
|
|
d535c97d0f | ||
|
|
334897ae39 | ||
|
|
7b8af94fc9 | ||
|
|
7753b24948 | ||
|
|
44ab611421 | ||
|
|
c0b56d03a1 | ||
|
|
d91b6197f3 | ||
|
|
e3d1519567 | ||
|
|
6f19babbff | ||
|
|
b3e25b15f9 | ||
|
|
cf5272e1a0 | ||
|
|
3e1b4591bd | ||
|
|
389a53cca9 | ||
|
|
248706d5f8 | ||
|
|
ab591b07ef | ||
|
|
38a568c9c9 | ||
|
|
b3bdbb2712 | ||
|
|
6921adb2f4 | ||
|
|
f37ddea78f | ||
|
|
1e69c4c77d | ||
|
|
3ac49e5ef1 | ||
|
|
0356839d05 | ||
|
|
b5034bb2b2 | ||
|
|
d073bc96c7 | ||
|
|
11370fe823 | ||
|
|
cbdd41eee2 | ||
|
|
28fe93cd15 | ||
|
|
7965796569 | ||
|
|
d2644b22f9 | ||
|
|
051ef09daf | ||
|
|
3497474fef | ||
|
|
c3c2d350e9 | ||
|
|
4f626eac0d | ||
|
|
7f3145bc98 | ||
|
|
dc5dfe3bc1 | ||
|
|
accd6ae298 | ||
|
|
caa7de37af | ||
|
|
0a95e77000 | ||
|
|
964c7b3115 | ||
|
|
bee7b9970e | ||
|
|
f38d21c529 | ||
|
|
7aa3448259 | ||
|
|
a66a9caa1c | ||
|
|
ec2b02e187 | ||
|
|
0f25994c8e | ||
|
|
229c7e6f0c | ||
|
|
d80686c7cd | ||
|
|
65aedc105a | ||
|
|
153f8e7b31 | ||
|
|
e87f395b7a | ||
|
|
2ec2d31012 | ||
|
|
daa9c3604d | ||
|
|
ec3ba1973a | ||
|
|
c6866eeb37 | ||
|
|
7bd7a35cb2 | ||
|
|
e84bcaabdc | ||
|
|
d4e3f0943b | ||
|
|
3f5fd57881 | ||
|
|
f524bcb973 | ||
|
|
a0534b720a | ||
|
|
424056c839 | ||
|
|
18df8e3d2e | ||
|
|
4249b1c2bb | ||
|
|
5776cc952a | ||
|
|
6c24346af5 | ||
|
|
450088e51a | ||
|
|
9a6e657e53 | ||
|
|
8fc7e854de | ||
|
|
93c1036758 | ||
|
|
4411abf82e | ||
|
|
a36af70571 | ||
|
|
059ab0e1ac | ||
|
|
b9f9977cdd | ||
|
|
676fff0219 | ||
|
|
7b253c8c0a | ||
|
|
f344d0694b | ||
|
|
d9704471ff | ||
|
|
82aaa0a20d | ||
|
|
e41197ea94 | ||
|
|
6ef2be8db4 | ||
|
|
d465493832 | ||
|
|
0e5fba2dfb | ||
|
|
973dfc6d4a | ||
|
|
6a3b1dd2c3 | ||
|
|
4c97828f79 | ||
|
|
ccd9697ef2 | ||
|
|
20a40dd8c2 | ||
|
|
237c3a78e2 | ||
|
|
fa3631fee3 | ||
|
|
316c9f34c6 | ||
|
|
6cb12b0f99 | ||
|
|
6ed73b0696 | ||
|
|
dcd008ff61 | ||
|
|
039afb9470 | ||
|
|
b879628394 | ||
|
|
9b2629384f | ||
|
|
50ae1e5199 | ||
|
|
1e6b5ce039 | ||
|
|
952d0067b3 | ||
|
|
911ff87601 | ||
|
|
9593616b8c | ||
|
|
d8538dad84 | ||
|
|
257f16fb13 | ||
|
|
182a18d911 | ||
|
|
8e6201b5b1 | ||
|
|
b676bf7d0e | ||
|
|
fa22d712ff | ||
|
|
286090b607 | ||
|
|
1689b174b3 | ||
|
|
f8aaa32d17 | ||
|
|
3dc5777b66 | ||
|
|
6669e91bd8 | ||
|
|
7c271729ef | ||
|
|
b54e147442 | ||
|
|
e7e4a9b3d6 | ||
|
|
49e446dac1 | ||
|
|
1b8b7b31ed | ||
|
|
6fc0241c21 | ||
|
|
affcc5087c | ||
|
|
1b2305232f | ||
|
|
f1a5f2a15f |
16
.dockerignore
Normal file
16
.dockerignore
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
HEAD
|
||||||
|
.cache
|
||||||
|
v*
|
||||||
|
alias
|
||||||
|
|
||||||
|
# For testing
|
||||||
|
test/bak
|
||||||
|
.urchin.log
|
||||||
|
.urchin_stdout
|
||||||
|
test/**/test_output
|
||||||
|
|
||||||
|
node_modules/
|
||||||
|
npm-debug.log
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
current
|
||||||
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
tab_width = 2
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.txt]
|
||||||
|
indent_size = false
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1 +1 @@
|
|||||||
*.sh eol=lf
|
* eol=lf
|
||||||
|
|||||||
4
.github/ISSUE_TEMPLATE.md
vendored
4
.github/ISSUE_TEMPLATE.md
vendored
@@ -21,7 +21,7 @@
|
|||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
- How did you install `nvm`? (e.g. install script in readme, homebrew):
|
- How did you install `nvm`? (e.g. install script in readme, Homebrew):
|
||||||
|
|
||||||
- What steps did you perform?
|
- What steps did you perform?
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
- Is there anything in any of your profile files (`.bashrc`, `.bash_profile`, `.zshrc`, etc) that modifies the `PATH`?
|
- Is there anything in any of your profile files (`.bashrc`, `.bash_profile`, `.zshrc`, etc) that modifies the `PATH`?
|
||||||
|
|
||||||
<!-- if this does not apply, please delete this section -->
|
<!-- if this does not apply, please delete this section -->
|
||||||
- If you are having installation issues, or getting "N/A", what does `curl -v nodejs.org/dist/` print out?
|
- If you are having installation issues, or getting "N/A", what does `curl -I --compressed -v https://nodejs.org/dist/` print out?
|
||||||
<details>
|
<details>
|
||||||
<!-- do not delete the following blank line -->
|
<!-- do not delete the following blank line -->
|
||||||
|
|
||||||
|
|||||||
7
.gitignore
vendored
7
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
# gitignore
|
||||||
HEAD
|
HEAD
|
||||||
.cache
|
.cache
|
||||||
v*
|
v*
|
||||||
@@ -14,3 +15,9 @@ npm-debug.log
|
|||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
current
|
current
|
||||||
|
default-packages
|
||||||
|
|
||||||
|
# Only apps should have lockfiles
|
||||||
|
npm-shrinkwrap.json
|
||||||
|
package-lock.json
|
||||||
|
yarn.lock
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
src
|
|
||||||
v*
|
|
||||||
alias
|
|
||||||
|
|
||||||
48
.travis.yml
48
.travis.yml
@@ -1,42 +1,46 @@
|
|||||||
language: generic
|
language: generic
|
||||||
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
packages:
|
packages:
|
||||||
- gcc-4.8
|
|
||||||
- g++-4.8
|
|
||||||
- cabal-install
|
|
||||||
- ghc
|
|
||||||
- zsh
|
- zsh
|
||||||
- ksh
|
# - ksh
|
||||||
|
# - gcc-4.8
|
||||||
|
# - g++-4.8
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.ghc
|
- $HOME/.npm
|
||||||
- $HOME/.cabal
|
|
||||||
- $TRAVIS_BUILD_DIR/.cache
|
- $TRAVIS_BUILD_DIR/.cache
|
||||||
|
- $TRAVIS_BUILD_DIR/node_modules
|
||||||
before_install:
|
before_install:
|
||||||
- $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL
|
- $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL
|
||||||
- curl --version
|
- curl --version
|
||||||
- wget --version
|
- wget --version
|
||||||
- if [ -n "${SHELLCHECK-}" ]; then cabal update && cabal install transformers-0.4.3.0 ShellCheck && shellcheck --version ; fi
|
|
||||||
install:
|
install:
|
||||||
- (mkdir /tmp/urchin && cd /tmp/urchin && curl -s "$(curl -s https://registry.npmjs.com/urchin | grep -Eo '"tarball":\s*"[^"]+"' | tail -n 1 | awk -F\" '{ print $4 }')" -O && tar -x -f urchin*)
|
- if [ -z "${SHELLCHECK-}" ]; then nvm install node && npm install && npm prune && npm ls urchin doctoc eclint; fi
|
||||||
- chmod +x /tmp/urchin/package/urchin
|
|
||||||
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
|
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
|
||||||
script:
|
script:
|
||||||
|
- if [ -n "${MAKE_RELEASE-}" ]; then export GIT_EDITOR="sed -i '1 s/^/99.99.99 make release test/'" && git fetch --unshallow --tags && echo proceed | make TAG=99.99.99 release ; fi
|
||||||
|
- if [ -n "${DOCTOCCHECK-}" ]; then cp README.md README.md.orig && npm run doctoc && diff -q README.md README.md.orig ; fi
|
||||||
|
- if [ -n "${ECLINT-}" ]; then npm run eclint ; fi
|
||||||
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh ; fi
|
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh ; fi
|
||||||
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash install.sh bash_completion nvm-exec ; fi
|
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash install.sh bash_completion nvm-exec ; fi
|
||||||
- if [ -z "${SHELLCHECK-}" ]; then make TEST_SUITE=$TEST_SUITE URCHIN=/tmp/urchin/package/urchin test-$SHELL ; fi
|
- if [ -n "${SHELL-}" ] && [ -n "${TEST_SUITE}" ]; then if [ "${TEST_SUITE}" = 'installation_iojs' ]; then travis_retry make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL ; else make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL; fi; fi
|
||||||
|
before_cache:
|
||||||
|
- if [ -n "$WITHOUT_CURL" ]; then sudo apt-get install curl -y ; fi
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CXX=g++-4.8
|
- CXX=g++-4.8
|
||||||
- CC=gcc-4.8
|
- CC=gcc-4.8
|
||||||
- PATH="~/.cabal/bin/:$(echo $PATH | sed 's/::/:/')"
|
- PATH="$(echo $PATH | sed 's/::/:/')"
|
||||||
- NVM_DIR="${TRAVIS_BUILD_DIR}"
|
- NVM_DIR="${TRAVIS_BUILD_DIR}"
|
||||||
matrix:
|
matrix:
|
||||||
|
- MAKE_RELEASE=true
|
||||||
|
- DOCTOCCHECK=true
|
||||||
- SHELLCHECK=true
|
- SHELLCHECK=true
|
||||||
|
- ECLINT=true
|
||||||
- SHELL=bash TEST_SUITE=install_script
|
- SHELL=bash TEST_SUITE=install_script
|
||||||
- SHELL=sh TEST_SUITE=fast
|
- SHELL=sh TEST_SUITE=fast
|
||||||
- SHELL=dash TEST_SUITE=fast
|
- SHELL=dash TEST_SUITE=fast
|
||||||
@@ -54,22 +58,22 @@ env:
|
|||||||
- SHELL=zsh TEST_SUITE=slow
|
- SHELL=zsh TEST_SUITE=slow
|
||||||
# - SHELL=ksh TEST_SUITE=slow
|
# - SHELL=ksh TEST_SUITE=slow
|
||||||
- SHELL=sh TEST_SUITE=installation_node
|
- SHELL=sh TEST_SUITE=installation_node
|
||||||
# - SHELL=sh TEST_SUITE=installation_node WITHOUT_CURL=1
|
- SHELL=sh TEST_SUITE=installation_node WITHOUT_CURL=1
|
||||||
- SHELL=dash TEST_SUITE=installation_node
|
- SHELL=dash TEST_SUITE=installation_node
|
||||||
# - SHELL=dash TEST_SUITE=installation_node WITHOUT_CURL=1
|
- SHELL=dash TEST_SUITE=installation_node WITHOUT_CURL=1
|
||||||
- SHELL=bash TEST_SUITE=installation_node
|
- SHELL=bash TEST_SUITE=installation_node
|
||||||
# - SHELL=bash TEST_SUITE=installation_node WITHOUT_CURL=1
|
- SHELL=bash TEST_SUITE=installation_node WITHOUT_CURL=1
|
||||||
- SHELL=zsh TEST_SUITE=installation_node
|
- SHELL=zsh TEST_SUITE=installation_node
|
||||||
# - SHELL=zsh TEST_SUITE=installation_node WITHOUT_CURL=1
|
- SHELL=zsh TEST_SUITE=installation_node WITHOUT_CURL=1
|
||||||
# - SHELL=ksh TEST_SUITE=installation_node
|
# - SHELL=ksh TEST_SUITE=installation_node
|
||||||
# - SHELL=ksh TEST_SUITE=installation_node WITHOUT_CURL=1
|
# - SHELL=ksh TEST_SUITE=installation_node WITHOUT_CURL=1
|
||||||
- SHELL=sh TEST_SUITE=installation_iojs
|
- SHELL=sh TEST_SUITE=installation_iojs
|
||||||
# - SHELL=sh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
- SHELL=sh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
||||||
- SHELL=dash TEST_SUITE=installation_iojs
|
- SHELL=dash TEST_SUITE=installation_iojs
|
||||||
# - SHELL=dash TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
- SHELL=dash TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
||||||
- SHELL=bash TEST_SUITE=installation_iojs
|
- SHELL=bash TEST_SUITE=installation_iojs
|
||||||
# - SHELL=bash TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
- SHELL=bash TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
||||||
- SHELL=zsh TEST_SUITE=installation_iojs
|
- SHELL=zsh TEST_SUITE=installation_iojs
|
||||||
# - SHELL=zsh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
- SHELL=zsh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
||||||
# - SHELL=ksh TEST_SUITE=installation_iojs
|
# - SHELL=ksh TEST_SUITE=installation_iojs
|
||||||
# - SHELL=ksh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
# - SHELL=ksh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
||||||
|
|||||||
@@ -1,15 +1,19 @@
|
|||||||
Thanks for contributing to `nvm`!
|
Thanks for contributing to `nvm`!
|
||||||
|
|
||||||
We love pull requests, they're our favorite.
|
We love pull requests and issues, they're our favorite.
|
||||||
|
|
||||||
However, before submitting, please review the following:
|
However, before submitting, please review the following:
|
||||||
|
|
||||||
- Please include tests. Changes with tests will be merged very quickly.
|
For bug reports:
|
||||||
- Please manually confirm that your changes work in `bash`, `sh`/`dash`, `ksh`, and `zsh`. Fast tests do run in these shells, but it's nice to manually verify also.
|
- Please make sure the bug is reproducible, and give us the steps to reproduce it, so that we can dig into the problem.
|
||||||
- Please maintain consistent whitespace - 2-space indentation, trailing newlines in all files, etc.
|
- Please give us as much detail as possible about your environment, so we can more easily confirm the problem.
|
||||||
- Any time you make a change to your PR, please rebase freshly on top of master. Nobody likes merge commits.
|
|
||||||
|
|
||||||
Even if you don't have all of these items covered, please still feel free to submit a PR! Someone else may be inspired and volunteer to complete it for you.
|
For pull requests:
|
||||||
|
- Please include tests. Changes with tests will be merged very quickly.
|
||||||
|
- Please manually confirm that your changes work in `bash`, `sh`/`dash`, `ksh`, and `zsh`. Fast tests do run in these shells, but it's nice to manually verify also.
|
||||||
|
- Please maintain consistent whitespace - 2-space indentation, trailing newlines in all files, etc.
|
||||||
|
- Any time you make a change to your PR, please rebase freshly on top of master. Nobody likes merge commits.
|
||||||
|
|
||||||
|
Even if you don't have all of these items covered, please still feel free to submit a PR/issue! Someone else may be inspired and volunteer to complete it for you.
|
||||||
|
|
||||||
Thanks again!
|
Thanks again!
|
||||||
|
|
||||||
|
|||||||
108
Dockerfile
Normal file
108
Dockerfile
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
# Dockerized nvm development environment
|
||||||
|
#
|
||||||
|
# This Dockerfile is for building nvm development environment only,
|
||||||
|
# not for any distribution/production usage.
|
||||||
|
#
|
||||||
|
# Please note that it'll use about 1.2 GB disk space and about 15 minutes to
|
||||||
|
# build this image, it depends on your hardware.
|
||||||
|
|
||||||
|
# Use Ubuntu Trusty Tahr as base image as we're using on Travis CI
|
||||||
|
# I also tested with Ubuntu 16.04, should be good with it!
|
||||||
|
From ubuntu:14.04
|
||||||
|
MAINTAINER Peter Dave Hello <hsu@peterdavehello.org>
|
||||||
|
|
||||||
|
# Prevent dialog during apt install
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
# ShellCheck version
|
||||||
|
ENV SHELLCHECK_VERSION=0.4.7
|
||||||
|
|
||||||
|
# Pick a Ubuntu apt mirror site for better speed
|
||||||
|
# ref: https://launchpad.net/ubuntu/+archivemirrors
|
||||||
|
ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu
|
||||||
|
|
||||||
|
# Disable src package source
|
||||||
|
RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list
|
||||||
|
|
||||||
|
# Replace origin apt package site with the mirror site
|
||||||
|
RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
|
||||||
|
RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
|
||||||
|
|
||||||
|
# Install apt packages
|
||||||
|
RUN apt update && \
|
||||||
|
apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" && \
|
||||||
|
apt install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
||||||
|
coreutils \
|
||||||
|
util-linux \
|
||||||
|
bsdutils \
|
||||||
|
file \
|
||||||
|
openssl \
|
||||||
|
ca-certificates \
|
||||||
|
ssh \
|
||||||
|
wget \
|
||||||
|
patch \
|
||||||
|
sudo \
|
||||||
|
htop \
|
||||||
|
dstat \
|
||||||
|
vim \
|
||||||
|
tmux \
|
||||||
|
curl \
|
||||||
|
git \
|
||||||
|
jq \
|
||||||
|
realpath \
|
||||||
|
zsh \
|
||||||
|
ksh \
|
||||||
|
gcc-4.8 \
|
||||||
|
g++-4.8 \
|
||||||
|
xz-utils \
|
||||||
|
build-essential \
|
||||||
|
bash-completion && \
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
|
# ShellCheck with Ubuntu 14.04 container workaround
|
||||||
|
RUN wget https://storage.googleapis.com/shellcheck/shellcheck-v$SHELLCHECK_VERSION.linux.x86_64.tar.xz -O- | \
|
||||||
|
tar xJvf - shellcheck-v$SHELLCHECK_VERSION/shellcheck && \
|
||||||
|
mv shellcheck-v$SHELLCHECK_VERSION/shellcheck /bin && \
|
||||||
|
rmdir shellcheck-v$SHELLCHECK_VERSION && \
|
||||||
|
touch /tmp/libc.so.6 && \
|
||||||
|
echo "alias shellcheck='LD_LIBRARY_PATH=/tmp /bin/shellcheck'" >> /etc/bash.bashrc
|
||||||
|
RUN LD_LIBRARY_PATH=/tmp shellcheck -V
|
||||||
|
|
||||||
|
# Set locale
|
||||||
|
RUN locale-gen en_US.UTF-8
|
||||||
|
|
||||||
|
# Print tool versions
|
||||||
|
RUN bash --version | head -n 1
|
||||||
|
RUN zsh --version
|
||||||
|
RUN ksh --version || true
|
||||||
|
RUN dpkg -s dash | grep ^Version | awk '{print $2}'
|
||||||
|
RUN git --version
|
||||||
|
RUN curl --version
|
||||||
|
RUN wget --version
|
||||||
|
|
||||||
|
# Add user "nvm" as non-root user
|
||||||
|
RUN useradd -ms /bin/bash nvm
|
||||||
|
|
||||||
|
# Set sudoer for "nvm"
|
||||||
|
RUN echo 'nvm ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||||
|
|
||||||
|
# Switch to user "nvm" from now
|
||||||
|
USER nvm
|
||||||
|
|
||||||
|
# nvm
|
||||||
|
COPY . /home/nvm/.nvm/
|
||||||
|
RUN sudo chown nvm:nvm -R $HOME/.nvm
|
||||||
|
RUN echo 'export NVM_DIR="$HOME/.nvm"' >> $HOME/.bashrc
|
||||||
|
RUN echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> $HOME/.bashrc
|
||||||
|
RUN echo '[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> $HOME/.bashrc
|
||||||
|
|
||||||
|
# nodejs and tools
|
||||||
|
RUN bash -c 'source $HOME/.nvm/nvm.sh && \
|
||||||
|
nvm install node && \
|
||||||
|
npm install -g doctoc urchin && \
|
||||||
|
npm install --prefix "$HOME/.nvm/"'
|
||||||
|
|
||||||
|
# Set WORKDIR to nvm directory
|
||||||
|
WORKDIR /home/nvm/.nvm
|
||||||
|
|
||||||
|
ENTRYPOINT /bin/bash
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2010-2016 Tim Caswell
|
Copyright (c) 2010 Tim Caswell
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,4 +18,3 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|||||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|||||||
40
Makefile
40
Makefile
@@ -15,7 +15,7 @@ ifeq ($(findstring /,$(URCHIN)),) # urchin path was NOT passed in.
|
|||||||
UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS)))
|
UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS)))
|
||||||
endif
|
endif
|
||||||
# The files that need updating when incrementing the version number.
|
# The files that need updating when incrementing the version number.
|
||||||
VERSIONED_FILES := nvm.sh install.sh README.markdown package.json
|
VERSIONED_FILES := nvm.sh install.sh README.md package.json
|
||||||
# Define all shells to test with. Can be overridden with `make SHELLS=... <target>`.
|
# Define all shells to test with. Can be overridden with `make SHELLS=... <target>`.
|
||||||
SHELLS := sh bash dash zsh # ksh (#574)
|
SHELLS := sh bash dash zsh # ksh (#574)
|
||||||
# Generate 'test-<shell>' target names from specified shells.
|
# Generate 'test-<shell>' target names from specified shells.
|
||||||
@@ -41,9 +41,9 @@ list:
|
|||||||
.PHONY: $(SHELL_TARGETS)
|
.PHONY: $(SHELL_TARGETS)
|
||||||
$(SHELL_TARGETS):
|
$(SHELL_TARGETS):
|
||||||
@shell='$@'; shell=$${shell##*-}; which "$$shell" >/dev/null || { printf '\033[0;31m%s\033[0m\n' "WARNING: Cannot test with shell '$$shell': not found." >&2; exit 0; } && \
|
@shell='$@'; shell=$${shell##*-}; which "$$shell" >/dev/null || { printf '\033[0;31m%s\033[0m\n' "WARNING: Cannot test with shell '$$shell': not found." >&2; exit 0; } && \
|
||||||
printf '\n\033[0;34m%s\033[0m\n' "Running tests in $$shell"; \
|
printf '\n\033[0;34m%s\033[0m\n' "Running tests in $$shell"; \
|
||||||
[ -z "$$TRAVIS_BUILD_DIR" ] && for v in $$(set | awk -F'=' '$$1 ~ "^NVM_" { print $$1 }'); do unset $$v; done && unset v; \
|
[ -z "$$TRAVIS_BUILD_DIR" ] && for v in $$(set | awk -F'=' '$$1 ~ "^NVM_" { print $$1 }'); do unset $$v; done && unset v; \
|
||||||
for suite in $(TEST_SUITE); do $(URCHIN) -f -s $$shell test/$$suite || exit; done
|
for suite in $(TEST_SUITE); do $(URCHIN) -f -s $$shell test/$$suite || exit; done
|
||||||
|
|
||||||
# All-tests target: invokes the specified test suites for ALL shells defined in $(SHELLS).
|
# All-tests target: invokes the specified test suites for ALL shells defined in $(SHELLS).
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
@@ -55,6 +55,14 @@ ifndef TAG
|
|||||||
$(error Please invoke with `make TAG=<new-version> release`, where <new-version> is either an increment specifier (patch, minor, major, prepatch, preminor, premajor, prerelease), or an explicit major.minor.patch version number)
|
$(error Please invoke with `make TAG=<new-version> release`, where <new-version> is either an increment specifier (patch, minor, major, prepatch, preminor, premajor, prerelease), or an explicit major.minor.patch version number)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Ensures there are version tags in repository
|
||||||
|
.PHONY: _ensure-current-version
|
||||||
|
|
||||||
|
_ensure-current-version:
|
||||||
|
ifeq ($(shell git tag),$(printf ''))
|
||||||
|
@git fetch --tags
|
||||||
|
endif
|
||||||
|
|
||||||
# Ensures that the git workspace is clean.
|
# Ensures that the git workspace is clean.
|
||||||
.PHONY: _ensure-clean
|
.PHONY: _ensure-clean
|
||||||
_ensure-clean:
|
_ensure-clean:
|
||||||
@@ -62,16 +70,16 @@ _ensure-clean:
|
|||||||
|
|
||||||
# Makes a release; invoke with `make TAG=<versionOrIncrementSpec> release`.
|
# Makes a release; invoke with `make TAG=<versionOrIncrementSpec> release`.
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: _ensure-tag _ensure-clean
|
release: _ensure-tag _ensure-clean _ensure-current-version
|
||||||
@old_ver=`git describe --abbrev=0 --tags --match 'v[0-9]*.[0-9]*.[0-9]*'` || { echo "Failed to determine current version." >&2; exit 1; }; old_ver=$${old_ver#v}; \
|
@old_ver=`git describe --abbrev=0 --tags --match 'v[0-9]*.[0-9]*.[0-9]*'` || { echo "Failed to determine current version." >&2; exit 1; }; old_ver=$${old_ver#v}; \
|
||||||
new_ver=`echo "$(TAG)" | sed 's/^v//'`; new_ver=$${new_ver:-patch}; \
|
new_ver=`echo "$(TAG)" | sed 's/^v//'`; new_ver=$${new_ver:-patch}; \
|
||||||
if printf "$$new_ver" | grep -q '^[0-9]'; then \
|
if printf "$$new_ver" | grep -q '^[0-9]'; then \
|
||||||
semver "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be major.minor.patch' >&2; exit 2; }; \
|
semver "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be major.minor.patch' >&2; exit 2; }; \
|
||||||
semver -r "> $$old_ver" "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be HIGHER than current one.' >&2; exit 2; } \
|
semver -r "> $$old_ver" "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be HIGHER than current one.' >&2; exit 2; } \
|
||||||
else \
|
else \
|
||||||
new_ver=`semver -i "$$new_ver" "$$old_ver"` || { echo 'Invalid version-increment specifier: $(TAG)' >&2; exit 2; } \
|
new_ver=`semver -i "$$new_ver" "$$old_ver"` || { echo 'Invalid version-increment specifier: $(TAG)' >&2; exit 2; } \
|
||||||
fi; \
|
fi; \
|
||||||
printf "=== Bumping version **$$old_ver** to **$$new_ver** before committing and tagging:\n=== TYPE 'proceed' TO PROCEED, anything else to abort: " && read response && [ "$$response" = 'proceed' ] || { echo 'Aborted.' >&2; exit 2; }; \
|
printf "=== Bumping version **$$old_ver** to **$$new_ver** before committing and tagging:\n=== TYPE 'proceed' TO PROCEED, anything else to abort: " && read response && [ "$$response" = 'proceed' ] || { echo 'Aborted.' >&2; exit 2; }; \
|
||||||
replace "$$old_ver" "$$new_ver" -- $(VERSIONED_FILES) && \
|
replace "$$old_ver" "$$new_ver" -- $(VERSIONED_FILES) && \
|
||||||
git commit -m "v$$new_ver" $(VERSIONED_FILES) && \
|
git commit -m "v$$new_ver" $(VERSIONED_FILES) && \
|
||||||
git tag -a "v$$new_ver"
|
git tag -a "v$$new_ver"
|
||||||
|
|||||||
473
README.markdown
473
README.markdown
@@ -1,473 +0,0 @@
|
|||||||
# Node Version Manager [][3] [][4]
|
|
||||||
|
|
||||||
## Table of Contents
|
|
||||||
|
|
||||||
- [Installation](#installation)
|
|
||||||
- [Install script](#install-script)
|
|
||||||
- [Verify installation](#verify-installation)
|
|
||||||
- [Manual install](#manual-install)
|
|
||||||
- [Manual upgrade](#manual-upgrade)
|
|
||||||
- [Usage](#usage)
|
|
||||||
- [Long-term support](#long-term-support)
|
|
||||||
- [Migrating global packages while installing](#migrating-global-packages-while-installing)
|
|
||||||
- [io.js](#iojs)
|
|
||||||
- [System version of node](#system-version-of-node)
|
|
||||||
- [Listing versions](#listing-versions)
|
|
||||||
- [.nvmrc](#nvmrc)
|
|
||||||
- [Deeper Shell Integration](#deeper-shell-integration)
|
|
||||||
- [License](#license)
|
|
||||||
- [Running tests](#running-tests)
|
|
||||||
- [Bash completion](#bash-completion)
|
|
||||||
- [Usage](#usage-1)
|
|
||||||
- [Compatibility Issues](#compatibility-issues)
|
|
||||||
- [Installing nvm on Alpine Linux](#installing-nvm-on-alpine-linux)
|
|
||||||
- [Problems](#problems)
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
First you'll need to make sure your system has a c++ compiler. For OS X, Xcode will work, for Ubuntu, the `build-essential` and `libssl-dev` packages work.
|
|
||||||
|
|
||||||
**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:
|
|
||||||
- [nvm-windows](https://github.com/coreybutler/nvm-windows)
|
|
||||||
- [nodist](https://github.com/marcelklehr/nodist)
|
|
||||||
|
|
||||||
**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:
|
|
||||||
- [bass](https://github.com/edc/bass) allows you to use utilities written for Bash in fish shell
|
|
||||||
- [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup
|
|
||||||
- [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 shell
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**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:
|
|
||||||
- [[#900] [Bug] nodejs on FreeBSD need to be patched ](https://github.com/creationix/nvm/issues/900)
|
|
||||||
- [nodejs/node#3716](https://github.com/nodejs/node/issues/3716)
|
|
||||||
|
|
||||||
**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:
|
|
||||||
- [How to Install Command Line Tools in OS X Mavericks & Yosemite (Without Xcode)](http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/)
|
|
||||||
|
|
||||||
**Note:** On OS X, if you have/had a "system" node installed and want to install modules globally, keep in mind that:
|
|
||||||
- When using nvm you do not need `sudo` to globally install a module with `npm -g`, so instead of doing `sudo npm install -g grunt`, do instead `npm install -g grunt`
|
|
||||||
- If you have an `~/.npmrc` file, make sure it does not contain any `prefix` settings (which is not compatible with nvm)
|
|
||||||
- You can (but should not?) keep your previous "system" node install, but nvm will only be available to your user account (the one used to install nvm). This might cause version mismatches, as other users will be using `/usr/local/lib/node_modules/*` VS your user account using `~/.nvm/versions/node/vX.X.X/lib/node_modules/*`
|
|
||||||
|
|
||||||
Homebrew installation is not supported. If you have issues with homebrew-installed `nvm`, please `brew uninstall` it, and install it using the instructions below, before filing an issue.
|
|
||||||
|
|
||||||
**Note:** If you're using `zsh` you can easily install `nvm` as a zsh plugin. Install [`zsh-nvm`](https://github.com/lukechilds/zsh-nvm) and run `nvm upgrade` to upgrade.
|
|
||||||
|
|
||||||
**Note:** Git versions before v1.7 may face a problem of cloning nvm source from GitHub via https protocol, and there is also different behavior of git before v1.6, so the minimum required git version is v1.7.0 and we recommend v1.7.9.5 as it's the default version of the wildly used Ubuntu 12.04 LTS. If you are interested in the problem we mentioned here, please refer to GitHub's [HTTPS cloning errors](https://help.github.com/articles/https-cloning-errors/) article.
|
|
||||||
|
|
||||||
### Install script
|
|
||||||
|
|
||||||
To install or update nvm, you can use the [install script][2] using cURL:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
or Wget:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
<sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).</sub>
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
```
|
|
||||||
|
|
||||||
You can customize the install source, directory, profile, and version using the `NVM_SOURCE`, `NVM_DIR`, `PROFILE`, and `NODE_VERSION` variables.
|
|
||||||
Eg: `curl ... | NVM_DIR=/usr/local/nvm bash` for a global install.
|
|
||||||
|
|
||||||
<sub>*NB. The installer can use `git`, `curl`, or `wget` to download `nvm`, whatever is available.*</sub>
|
|
||||||
|
|
||||||
**Note:** On OS X, if you get `nvm: command not found` after running the install script, 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 again.
|
|
||||||
|
|
||||||
If the above doesn't fix the problem, open your `.bash_profile` and add the following line of code:
|
|
||||||
|
|
||||||
`source ~/.bashrc`
|
|
||||||
|
|
||||||
- For more information about this issue and possible workarounds, please [refer here](https://github.com/creationix/nvm/issues/576)
|
|
||||||
|
|
||||||
|
|
||||||
### Verify installation
|
|
||||||
|
|
||||||
To verify that nvm has been installed, do:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
command -v nvm
|
|
||||||
```
|
|
||||||
|
|
||||||
which should output 'nvm' if the installation was successful. Please note that `which nvm` will not work, since `nvm` is a sourced shell function, not an executable binary.
|
|
||||||
|
|
||||||
### Manual install
|
|
||||||
|
|
||||||
For manual install create a folder somewhere in your filesystem with the `nvm.sh` file inside it. I put mine in `~/.nvm`.
|
|
||||||
|
|
||||||
Or if you have `git` installed (requires git v1.7+):
|
|
||||||
|
|
||||||
1. clone this repo
|
|
||||||
1. check out the latest version
|
|
||||||
1. activate nvm by sourcing it from your shell
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export NVM_DIR="$HOME/.nvm" && (
|
|
||||||
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
|
|
||||||
cd "$NVM_DIR"
|
|
||||||
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`
|
|
||||||
) && . "$NVM_DIR/nvm.sh"
|
|
||||||
```
|
|
||||||
|
|
||||||
Add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
|
|
||||||
(you may have to add to more than one of the above files)
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
```
|
|
||||||
|
|
||||||
### Manual upgrade
|
|
||||||
|
|
||||||
For manual upgrade with `git` (requires git v1.7+):
|
|
||||||
|
|
||||||
1. change to the `$NVM_DIR`
|
|
||||||
1. pull down the latest changes
|
|
||||||
1. check out the latest version
|
|
||||||
1. activate the new version
|
|
||||||
|
|
||||||
```sh
|
|
||||||
(
|
|
||||||
cd "$NVM_DIR"
|
|
||||||
git fetch origin
|
|
||||||
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`
|
|
||||||
) && . "$NVM_DIR/nvm.sh"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
To download, compile, and install the latest release of node, do this:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install node
|
|
||||||
```
|
|
||||||
|
|
||||||
And then in any new shell just use the installed version:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm use node
|
|
||||||
```
|
|
||||||
|
|
||||||
Or you can just run it:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm run node --version
|
|
||||||
```
|
|
||||||
Or, you can run any arbitrary command in a subshell with the desired version of node:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm exec 4.2 node --version
|
|
||||||
```
|
|
||||||
|
|
||||||
You can also get the path to the executable to where it was installed:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm which 5.0
|
|
||||||
```
|
|
||||||
|
|
||||||
In place of a version pointer like "0.10" or "5.0" or "4.2.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc:
|
|
||||||
|
|
||||||
- `node`: this installs the latest version of [`node`](https://nodejs.org/en/)
|
|
||||||
- `iojs`: this installs the latest version of [`io.js`](https://iojs.org/en/)
|
|
||||||
- `stable`: this alias is deprecated, and only truly applies to `node` `v0.12` and earlier. Currently, this is an alias for `node`.
|
|
||||||
- `unstable`: this alias points to `node` `v0.11` - the last "unstable" node release, since post-1.0, all node versions are stable. (in semver, versions communicate breakage, not stability).
|
|
||||||
|
|
||||||
### Long-term support
|
|
||||||
Node has a [schedule](https://github.com/nodejs/LTS#lts_schedule) for long-term support (LTS) You can reference LTS versions in aliases and `.nvmrc` files with the notation `lts/*` for the latest LTS, and `lts/argon` for LTS releases from the "argon" line, for example. In addition, the following commands support LTS arguments:
|
|
||||||
- `nvm install --lts` / `nvm install --lts=argon` / `nvm install 'lts/*'` / `nvm install lts/argon`
|
|
||||||
- `nvm uninstall --lts` / `nvm uninstall --lts=argon` / `nvm uninstall 'lts/*'` / `nvm uninstall lts/argon`
|
|
||||||
- `nvm use --lts` / `nvm use --lts=argon` / `nvm use 'lts/*'` / `nvm use lts/argon`
|
|
||||||
- `nvm exec --lts` / `nvm exec --lts=argon` / `nvm exec 'lts/*'` / `nvm exec lts/argon`
|
|
||||||
- `nvm run --lts` / `nvm run --lts=argon` / `nvm run 'lts/*'` / `nvm run lts/argon`
|
|
||||||
- `nvm ls-remote --lts` / `nvm ls-remote --lts=argon` `nvm ls-remote 'lts/*'` / `nvm ls-remote lts/argon`
|
|
||||||
- `nvm version-remote --lts` / `nvm version-remote --lts=argon` / `nvm version-remote 'lts/*'` / `nvm version-remote lts/argon`
|
|
||||||
|
|
||||||
Any time your local copy of `nvm` connects to https://nodejs.org, it will re-create the appropriate local aliases for all available LTS lines. These aliases (stored under `$NVM_DIR/alias/lts`), are managed by `nvm`, and you should not modify, remove, or create these files - expect your changes to be undone, and expect meddling with these files to cause bugs that will likely not be supported.
|
|
||||||
|
|
||||||
### Migrating global packages while installing
|
|
||||||
If you want to install a new version of Node.js and migrate npm packages from a previous version:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install node --reinstall-packages-from=node
|
|
||||||
```
|
|
||||||
|
|
||||||
This will first use "nvm version node" to identify the current version you're migrating packages from. Then it resolves the new version to install from the remote server and installs it. Lastly, it runs "nvm reinstall-packages" to reinstall the npm packages from your prior version of Node to the new one.
|
|
||||||
|
|
||||||
You can also install and migrate npm packages from specific versions of Node like this:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install 6 --reinstall-packages-from=5
|
|
||||||
nvm install v4.2 --reinstall-packages-from=iojs
|
|
||||||
```
|
|
||||||
|
|
||||||
### io.js
|
|
||||||
If you want to install [io.js](https://github.com/iojs/io.js/):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install iojs
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want to install a new version of io.js and migrate npm packages from a previous version:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install iojs --reinstall-packages-from=iojs
|
|
||||||
```
|
|
||||||
|
|
||||||
The same guidelines mentioned for migrating npm packages in Node.js are applicable to io.js.
|
|
||||||
|
|
||||||
### System version of node
|
|
||||||
If you want to use the system-installed version of node, you can use the special default alias "system":
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm use system
|
|
||||||
nvm run system --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### Listing versions
|
|
||||||
If you want to see what versions are installed:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm ls
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want to see what versions are available to install:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm ls-remote
|
|
||||||
```
|
|
||||||
|
|
||||||
To restore your PATH, you can deactivate it:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm deactivate
|
|
||||||
```
|
|
||||||
|
|
||||||
To set a default Node version to be used in any new shell, use the alias 'default':
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm alias default node
|
|
||||||
```
|
|
||||||
|
|
||||||
To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist
|
|
||||||
nvm install node
|
|
||||||
|
|
||||||
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist nvm install 4.2
|
|
||||||
```
|
|
||||||
|
|
||||||
To use a mirror of the io.js binaries, set `$NVM_IOJS_ORG_MIRROR`:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export NVM_IOJS_ORG_MIRROR=https://iojs.org/dist
|
|
||||||
nvm install iojs-v1.0.3
|
|
||||||
|
|
||||||
NVM_IOJS_ORG_MIRROR=https://iojs.org/dist nvm install iojs-v1.0.3
|
|
||||||
```
|
|
||||||
|
|
||||||
`nvm use` will not, by default, create a "current" symlink. Set `$NVM_SYMLINK_CURRENT` to "true" to enable this behavior, which is sometimes useful for IDEs. Note that using `nvm` in multiple shell tabs with this environment variable enabled can cause race conditions.
|
|
||||||
|
|
||||||
### .nvmrc
|
|
||||||
|
|
||||||
You can create a `.nvmrc` file containing version number in the project root directory (or any parent directory).
|
|
||||||
`nvm use`, `nvm install`, `nvm exec`, `nvm run`, and `nvm which` will all respect an `.nvmrc` file when a version is not supplied.
|
|
||||||
|
|
||||||
For example, to make nvm default to the latest 5.9 release for the current directory:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ echo "5.9" > .nvmrc
|
|
||||||
|
|
||||||
$ echo "lts/*" > .nvmrc # to default to the latest LTS version
|
|
||||||
```
|
|
||||||
|
|
||||||
Then when you run nvm:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ nvm use
|
|
||||||
Found '/path/to/project/.nvmrc' with version <5.9>
|
|
||||||
Now using node v5.9.1 (npm v3.7.3)
|
|
||||||
```
|
|
||||||
|
|
||||||
### Deeper Shell Integration
|
|
||||||
|
|
||||||
You can use [`avn`](https://github.com/wbyoung/avn) to deeply integrate into your shell and automatically invoke `nvm` when changing directories. `avn` is **not** supported by the `nvm` development team. Please [report issues to the `avn` team](https://github.com/wbyoung/avn/issues/new).
|
|
||||||
|
|
||||||
If you prefer a lighter-weight solution, the recipes below have been contributed by `nvm` users. They are **not** supported by the `nvm` development team. We are, however, accepting pull requests for more examples.
|
|
||||||
|
|
||||||
#### Zsh
|
|
||||||
|
|
||||||
##### Calling `nvm use` automatically in a directory with a `.nvmrc` file
|
|
||||||
|
|
||||||
Put this into your `$HOME/.zshrc` to call `nvm use` automatically whenever you enter a directory that contains an
|
|
||||||
`.nvmrc` file with a string telling nvm which node to `use`:
|
|
||||||
|
|
||||||
```zsh
|
|
||||||
# place this after nvm initialization!
|
|
||||||
autoload -U add-zsh-hook
|
|
||||||
load-nvmrc() {
|
|
||||||
local node_version="$(nvm version)"
|
|
||||||
local nvmrc_path="$(nvm_find_nvmrc)"
|
|
||||||
|
|
||||||
if [ -n "$nvmrc_path" ]; then
|
|
||||||
local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")
|
|
||||||
|
|
||||||
if [ "$nvmrc_node_version" != "N/A" ] && [ "$nvmrc_node_version" != "$node_version" ]; then
|
|
||||||
nvm install
|
|
||||||
fi
|
|
||||||
elif [ "$node_version" != "$(nvm version default)" ]; then
|
|
||||||
echo "Reverting to nvm default version"
|
|
||||||
nvm use default
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
add-zsh-hook chpwd load-nvmrc
|
|
||||||
load-nvmrc
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
nvm is released under the MIT license.
|
|
||||||
|
|
||||||
|
|
||||||
Copyright (C) 2010-2016 Tim Caswell and Jordan Harband
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
## Running tests
|
|
||||||
Tests are written in [Urchin]. Install Urchin (and other dependencies) like so:
|
|
||||||
|
|
||||||
npm install
|
|
||||||
|
|
||||||
There are slow tests and fast tests. The slow tests do things like install node
|
|
||||||
and check that the right versions are used. The fast tests fake this to test
|
|
||||||
things like aliases and uninstalling. From the root of the nvm git repository,
|
|
||||||
run the fast tests like this:
|
|
||||||
|
|
||||||
npm run test/fast
|
|
||||||
|
|
||||||
Run the slow tests like this:
|
|
||||||
|
|
||||||
npm run test/slow
|
|
||||||
|
|
||||||
Run all of the tests like this:
|
|
||||||
|
|
||||||
npm test
|
|
||||||
|
|
||||||
Nota bene: Avoid running nvm while the tests are running.
|
|
||||||
|
|
||||||
## Bash completion
|
|
||||||
|
|
||||||
To activate, you need to source `bash_completion`:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
[[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion
|
|
||||||
```
|
|
||||||
|
|
||||||
Put the above sourcing line just below the sourcing line for nvm in your profile (`.bashrc`, `.bash_profile`).
|
|
||||||
|
|
||||||
### Usage
|
|
||||||
|
|
||||||
nvm:
|
|
||||||
|
|
||||||
$ nvm [tab][tab]
|
|
||||||
alias deactivate install ls run unload
|
|
||||||
clear-cache exec list ls-remote unalias use
|
|
||||||
current help list-remote reinstall-packages uninstall version
|
|
||||||
|
|
||||||
nvm alias:
|
|
||||||
|
|
||||||
$ nvm alias [tab][tab]
|
|
||||||
default
|
|
||||||
|
|
||||||
$ nvm alias my_alias [tab][tab]
|
|
||||||
v0.6.21 v0.8.26 v0.10.28
|
|
||||||
|
|
||||||
nvm use:
|
|
||||||
|
|
||||||
$ nvm use [tab][tab]
|
|
||||||
my_alias default v0.6.21 v0.8.26 v0.10.28
|
|
||||||
|
|
||||||
nvm uninstall:
|
|
||||||
|
|
||||||
$ nvm uninstall [tab][tab]
|
|
||||||
my_alias default v0.6.21 v0.8.26 v0.10.28
|
|
||||||
|
|
||||||
## Compatibility Issues
|
|
||||||
`nvm` will encounter some issues if you have some non-default settings set. (see [#606](/../../issues/606))
|
|
||||||
The following are known to cause issues:
|
|
||||||
|
|
||||||
Inside `~/.npmrc`:
|
|
||||||
```sh
|
|
||||||
prefix='some/path'
|
|
||||||
```
|
|
||||||
Environment Variables:
|
|
||||||
```sh
|
|
||||||
$NPM_CONFIG_PREFIX
|
|
||||||
$PREFIX
|
|
||||||
```
|
|
||||||
Shell settings:
|
|
||||||
```sh
|
|
||||||
set -e
|
|
||||||
```
|
|
||||||
|
|
||||||
## Installing nvm on Alpine Linux
|
|
||||||
In order to provide the best performance (and other optimisations), nvm will download and install pre-compiled binaries for Node (and npm) when you run `nvm install X`. The Node project compiles, tests and hosts/provides pre-these compiled binaries which are built for mainstream/traditional Linux distributions (such as Debian, Ubuntu, CentOS, RedHat et al).
|
|
||||||
|
|
||||||
Alpine Linux, unlike mainstream/traditional Linux distributions, is based on [busybox](https://www.busybox.net/), a very compact (~5MB) Linux distribution. Busybox (and thus Alpine Linux) uses a different C/C++ stack to most mainstream/traditional Linux distributions - [musl](https://www.musl-libc.org/). This makes binary programs built for such mainstream/traditional incompatible with Alpine Linux, thus we cannot simply `nvm install X` on Alpine Linux and expect the downloaded binary to run correctly - you'll likely see "...does not exist" errors if you try that.
|
|
||||||
|
|
||||||
There is a `-s` flag for `nvm install` which requests nvm download Node source and compile it locally.
|
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers
|
|
||||||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.
|
|
||||||
|
|
||||||
As a potential alternative, @mhart (a Node contributor) has some [Docker images for Alpine Linux with Node and optionally, npm, pre-installed](https://github.com/mhart/alpine-node).
|
|
||||||
|
|
||||||
|
|
||||||
## Problems
|
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
|
|
||||||
|
|
||||||
Where's my 'sudo node'? Check out this link:
|
|
||||||
|
|
||||||
https://github.com/creationix/nvm/issues/43
|
|
||||||
|
|
||||||
On Arch Linux and other systems using python3 by default, before running *install* you need to:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export PYTHON=python2
|
|
||||||
```
|
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
nvm install -s 0.8.6
|
|
||||||
|
|
||||||
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))
|
|
||||||
|
|
||||||
[1]: https://github.com/creationix/nvm.git
|
|
||||||
[2]: https://github.com/creationix/nvm/blob/v0.33.0/install.sh
|
|
||||||
[3]: https://travis-ci.org/creationix/nvm
|
|
||||||
[4]: https://github.com/creationix/nvm/releases/tag/v0.33.0
|
|
||||||
[Urchin]: https://github.com/scraperwiki/urchin
|
|
||||||
[Fish]: http://fishshell.com
|
|
||||||
587
README.md
Normal file
587
README.md
Normal file
@@ -0,0 +1,587 @@
|
|||||||
|
# Node Version Manager [][3] [][4] [](https://bestpractices.coreinfrastructure.org/projects/684)
|
||||||
|
|
||||||
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||||
|
## Table of Contents
|
||||||
|
|
||||||
|
- [Installation](#installation)
|
||||||
|
- [Install script](#install-script)
|
||||||
|
- [Verify installation](#verify-installation)
|
||||||
|
- [Important Notes](#important-notes)
|
||||||
|
- [Git install](#git-install)
|
||||||
|
- [Manual Install](#manual-install)
|
||||||
|
- [Manual upgrade](#manual-upgrade)
|
||||||
|
- [Usage](#usage)
|
||||||
|
- [Long-term support](#long-term-support)
|
||||||
|
- [Migrating global packages while installing](#migrating-global-packages-while-installing)
|
||||||
|
- [Default global packages from file while installing](#default-global-packages-from-file-while-installing)
|
||||||
|
- [io.js](#iojs)
|
||||||
|
- [System version of node](#system-version-of-node)
|
||||||
|
- [Listing versions](#listing-versions)
|
||||||
|
- [.nvmrc](#nvmrc)
|
||||||
|
- [Deeper Shell Integration](#deeper-shell-integration)
|
||||||
|
- [zsh](#zsh)
|
||||||
|
- [Calling `nvm use` automatically in a directory with a `.nvmrc` file](#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file)
|
||||||
|
- [License](#license)
|
||||||
|
- [Running tests](#running-tests)
|
||||||
|
- [Bash completion](#bash-completion)
|
||||||
|
- [Usage](#usage-1)
|
||||||
|
- [Compatibility Issues](#compatibility-issues)
|
||||||
|
- [Installing nvm on Alpine Linux](#installing-nvm-on-alpine-linux)
|
||||||
|
- [Removal](#removal)
|
||||||
|
- [Manual Uninstall](#manual-uninstall)
|
||||||
|
- [Docker for development environment](#docker-for-development-environment)
|
||||||
|
- [Problems](#problems)
|
||||||
|
- [Mac OS "troubleshooting"](#mac-os-troubleshooting)
|
||||||
|
|
||||||
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### Install script
|
||||||
|
|
||||||
|
To install or update nvm, you can use the [install script][2] using cURL:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
or Wget:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
<sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).</sub>
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
```
|
||||||
|
|
||||||
|
You can customize the install source, directory, profile, and version using the `NVM_SOURCE`, `NVM_DIR`, `PROFILE`, and `NODE_VERSION` variables.
|
||||||
|
Eg: `curl ... | NVM_DIR="path/to/nvm"`. Ensure that the `NVM_DIR` does not contain a trailing slash.
|
||||||
|
|
||||||
|
<sub>*NB. The installer can use `git`, `curl`, or `wget` to download `nvm`, whatever is available.*</sub>
|
||||||
|
|
||||||
|
**Note:** On Linux, after running the install script, if you get `nvm: command not found` or see no feedback from your terminal after you type:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
command -v nvm
|
||||||
|
```
|
||||||
|
simply close your current terminal, open a new terminal, and try verifying again.
|
||||||
|
|
||||||
|
**Note:** Since OS X 10.9, `/usr/bin/git` was preset by Xcode command line tools, which caused Git can't be properly detected if it's 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))
|
||||||
|
|
||||||
|
**Note:** On OS X, if you get `nvm: command not found` after running the install script, one of the following might be the reason:-
|
||||||
|
- 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 again
|
||||||
|
- you might need to restart your terminal instance. Try opening a new tab/window in your terminal and retry.
|
||||||
|
|
||||||
|
If the above doesn't fix the problem, open your `.bash_profile` and add the following line of code:
|
||||||
|
|
||||||
|
`source ~/.bashrc`
|
||||||
|
|
||||||
|
- For more information about this issue and possible workarounds, please [refer here](https://github.com/creationix/nvm/issues/576)
|
||||||
|
|
||||||
|
### Verify installation
|
||||||
|
|
||||||
|
To verify that nvm has been installed, do:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
command -v nvm
|
||||||
|
```
|
||||||
|
|
||||||
|
which should output 'nvm' if the installation was successful. Please note that `which nvm` will not work, since `nvm` is a sourced shell function, not an executable binary.
|
||||||
|
|
||||||
|
### Important Notes
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**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:
|
||||||
|
- [nvm-windows](https://github.com/coreybutler/nvm-windows)
|
||||||
|
- [nodist](https://github.com/marcelklehr/nodist)
|
||||||
|
|
||||||
|
**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:
|
||||||
|
- [bass](https://github.com/edc/bass) allows you to use utilities written for Bash in fish shell
|
||||||
|
- [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup
|
||||||
|
- [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 shell
|
||||||
|
- [fnm](https://github.com/fisherman/fnm) - [fisherman](https://github.com/fisherman/fisherman)-based version manager for fish
|
||||||
|
|
||||||
|
**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:
|
||||||
|
- [[#900] [Bug] nodejs on FreeBSD may need to be patched ](https://github.com/creationix/nvm/issues/900)
|
||||||
|
- [nodejs/node#3716](https://github.com/nodejs/node/issues/3716)
|
||||||
|
|
||||||
|
**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:
|
||||||
|
- [How to Install Command Line Tools in OS X Mavericks & Yosemite (Without Xcode)](http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/)
|
||||||
|
|
||||||
|
**Note:** On OS X, if you have/had a "system" node installed and want to install modules globally, keep in mind that:
|
||||||
|
- When using nvm you do not need `sudo` to globally install a module with `npm -g`, so instead of doing `sudo npm install -g grunt`, do instead `npm install -g grunt`
|
||||||
|
- If you have an `~/.npmrc` file, make sure it does not contain any `prefix` settings (which is not compatible with nvm)
|
||||||
|
- You can (but should not?) keep your previous "system" node install, but nvm will only be available to your user account (the one used to install nvm). This might cause version mismatches, as other users will be using `/usr/local/lib/node_modules/*` VS your user account using `~/.nvm/versions/node/vX.X.X/lib/node_modules/*`
|
||||||
|
|
||||||
|
Homebrew installation is not supported. If you have issues with homebrew-installed `nvm`, please `brew uninstall` it, and install it using the instructions below, before filing an issue.
|
||||||
|
|
||||||
|
**Note:** If you're using `zsh` you can easily install `nvm` as a zsh plugin. Install [`zsh-nvm`](https://github.com/lukechilds/zsh-nvm) and run `nvm upgrade` to upgrade.
|
||||||
|
|
||||||
|
**Note:** Git versions before v1.7 may face a problem of cloning nvm source from GitHub via https protocol, and there is also different behavior of git before v1.6, and git prior to [v1.17.10](https://github.com/git/git/commit/5a7d5b683f869d3e3884a89775241afa515da9e7) can not clone tags, so the minimum required git version is v1.7.10. If you are interested in the problem we mentioned here, please refer to GitHub's [HTTPS cloning errors](https://help.github.com/articles/https-cloning-errors/) article.
|
||||||
|
|
||||||
|
### Git install
|
||||||
|
|
||||||
|
If you have `git` installed (requires git v1.7.10+):
|
||||||
|
|
||||||
|
1. clone this repo in the root of your user profile
|
||||||
|
- `cd ~/` from anywhere then `git clone https://github.com/creationix/nvm.git .nvm`
|
||||||
|
2. `cd ~/.nvm` and check out the latest version with `git checkout v0.33.11`
|
||||||
|
3. activate nvm by sourcing it from your shell: `. nvm.sh`
|
||||||
|
|
||||||
|
Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
|
||||||
|
(you may have to add to more than one of the above files)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
```
|
||||||
|
|
||||||
|
### Manual Install
|
||||||
|
|
||||||
|
For a fully manual install, create a folder somewhere in your filesystem with the `nvm.sh` file inside it. I put mine in `~/.nvm` and added the following to the `nvm.sh` file.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export NVM_DIR="$HOME/.nvm" && (
|
||||||
|
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
|
||||||
|
cd "$NVM_DIR"
|
||||||
|
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
||||||
|
) && \. "$NVM_DIR/nvm.sh"
|
||||||
|
```
|
||||||
|
|
||||||
|
Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
|
||||||
|
(you may have to add to more than one of the above files)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
```
|
||||||
|
|
||||||
|
### Manual upgrade
|
||||||
|
|
||||||
|
For manual upgrade with `git` (requires git v1.7.10+):
|
||||||
|
|
||||||
|
1. change to the `$NVM_DIR`
|
||||||
|
1. pull down the latest changes
|
||||||
|
1. check out the latest version
|
||||||
|
1. activate the new version
|
||||||
|
|
||||||
|
```sh
|
||||||
|
(
|
||||||
|
cd "$NVM_DIR"
|
||||||
|
git fetch origin
|
||||||
|
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
||||||
|
) && \. "$NVM_DIR/nvm.sh"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
To download, compile, and install the latest release of node, do this:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm install node
|
||||||
|
```
|
||||||
|
|
||||||
|
And then in any new shell just use the installed version:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm use node
|
||||||
|
```
|
||||||
|
|
||||||
|
Or you can just run it:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm run node --version
|
||||||
|
```
|
||||||
|
Or, you can run any arbitrary command in a subshell with the desired version of node:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm exec 4.2 node --version
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also get the path to the executable to where it was installed:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm which 5.0
|
||||||
|
```
|
||||||
|
|
||||||
|
In place of a version pointer like "0.10" or "5.0" or "4.2.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc:
|
||||||
|
|
||||||
|
- `node`: this installs the latest version of [`node`](https://nodejs.org/en/)
|
||||||
|
- `iojs`: this installs the latest version of [`io.js`](https://iojs.org/en/)
|
||||||
|
- `stable`: this alias is deprecated, and only truly applies to `node` `v0.12` and earlier. Currently, this is an alias for `node`.
|
||||||
|
- `unstable`: this alias points to `node` `v0.11` - the last "unstable" node release, since post-1.0, all node versions are stable. (in SemVer, versions communicate breakage, not stability).
|
||||||
|
|
||||||
|
### Long-term support
|
||||||
|
Node has a [schedule](https://github.com/nodejs/LTS#lts_schedule) for long-term support (LTS) You can reference LTS versions in aliases and `.nvmrc` files with the notation `lts/*` for the latest LTS, and `lts/argon` for LTS releases from the "argon" line, for example. In addition, the following commands support LTS arguments:
|
||||||
|
- `nvm install --lts` / `nvm install --lts=argon` / `nvm install 'lts/*'` / `nvm install lts/argon`
|
||||||
|
- `nvm uninstall --lts` / `nvm uninstall --lts=argon` / `nvm uninstall 'lts/*'` / `nvm uninstall lts/argon`
|
||||||
|
- `nvm use --lts` / `nvm use --lts=argon` / `nvm use 'lts/*'` / `nvm use lts/argon`
|
||||||
|
- `nvm exec --lts` / `nvm exec --lts=argon` / `nvm exec 'lts/*'` / `nvm exec lts/argon`
|
||||||
|
- `nvm run --lts` / `nvm run --lts=argon` / `nvm run 'lts/*'` / `nvm run lts/argon`
|
||||||
|
- `nvm ls-remote --lts` / `nvm ls-remote --lts=argon` `nvm ls-remote 'lts/*'` / `nvm ls-remote lts/argon`
|
||||||
|
- `nvm version-remote --lts` / `nvm version-remote --lts=argon` / `nvm version-remote 'lts/*'` / `nvm version-remote lts/argon`
|
||||||
|
|
||||||
|
Any time your local copy of `nvm` connects to https://nodejs.org, it will re-create the appropriate local aliases for all available LTS lines. These aliases (stored under `$NVM_DIR/alias/lts`), are managed by `nvm`, and you should not modify, remove, or create these files - expect your changes to be undone, and expect meddling with these files to cause bugs that will likely not be supported.
|
||||||
|
|
||||||
|
### Migrating global packages while installing
|
||||||
|
If you want to install a new version of Node.js and migrate npm packages from a previous version:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm install node --reinstall-packages-from=node
|
||||||
|
```
|
||||||
|
|
||||||
|
This will first use "nvm version node" to identify the current version you're migrating packages from. Then it resolves the new version to install from the remote server and installs it. Lastly, it runs "nvm reinstall-packages" to reinstall the npm packages from your prior version of Node to the new one.
|
||||||
|
|
||||||
|
You can also install and migrate npm packages from specific versions of Node like this:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm install 6 --reinstall-packages-from=5
|
||||||
|
nvm install v4.2 --reinstall-packages-from=iojs
|
||||||
|
```
|
||||||
|
|
||||||
|
### Default global packages from file while installing
|
||||||
|
|
||||||
|
If you have a list of default packages you want installed every time you install a new version we support that too. You can add anything npm would accept as a package argument on the command line.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# $NVM_DIR/default-packages
|
||||||
|
|
||||||
|
rimraf
|
||||||
|
object-inspect@1.0.2
|
||||||
|
stevemao/left-pad
|
||||||
|
```
|
||||||
|
|
||||||
|
### io.js
|
||||||
|
If you want to install [io.js](https://github.com/iojs/io.js/):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm install iojs
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to install a new version of io.js and migrate npm packages from a previous version:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm install iojs --reinstall-packages-from=iojs
|
||||||
|
```
|
||||||
|
|
||||||
|
The same guidelines mentioned for migrating npm packages in Node.js are applicable to io.js.
|
||||||
|
|
||||||
|
### System version of node
|
||||||
|
If you want to use the system-installed version of node, you can use the special default alias "system":
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm use system
|
||||||
|
nvm run system --version
|
||||||
|
```
|
||||||
|
|
||||||
|
### Listing versions
|
||||||
|
If you want to see what versions are installed:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm ls
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to see what versions are available to install:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm ls-remote
|
||||||
|
```
|
||||||
|
|
||||||
|
To restore your PATH, you can deactivate it:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm deactivate
|
||||||
|
```
|
||||||
|
|
||||||
|
To set a default Node version to be used in any new shell, use the alias 'default':
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm alias default node
|
||||||
|
```
|
||||||
|
|
||||||
|
To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist
|
||||||
|
nvm install node
|
||||||
|
|
||||||
|
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist nvm install 4.2
|
||||||
|
```
|
||||||
|
|
||||||
|
To use a mirror of the io.js binaries, set `$NVM_IOJS_ORG_MIRROR`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export NVM_IOJS_ORG_MIRROR=https://iojs.org/dist
|
||||||
|
nvm install iojs-v1.0.3
|
||||||
|
|
||||||
|
NVM_IOJS_ORG_MIRROR=https://iojs.org/dist nvm install iojs-v1.0.3
|
||||||
|
```
|
||||||
|
|
||||||
|
`nvm use` will not, by default, create a "current" symlink. Set `$NVM_SYMLINK_CURRENT` to "true" to enable this behavior, which is sometimes useful for IDEs. Note that using `nvm` in multiple shell tabs with this environment variable enabled can cause race conditions.
|
||||||
|
|
||||||
|
### .nvmrc
|
||||||
|
|
||||||
|
You can create a `.nvmrc` file containing a node version number (or any other string that `nvm` understands; see `nvm --help` for details) in the project root directory (or any parent directory).
|
||||||
|
Afterwards, `nvm use`, `nvm install`, `nvm exec`, `nvm run`, and `nvm which` will use the version specified in the `.nvmrc` file if no version is supplied on the command line.
|
||||||
|
|
||||||
|
For example, to make nvm default to the latest 5.9 release, the latest LTS version, or the latest node version for the current directory:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ echo "5.9" > .nvmrc
|
||||||
|
|
||||||
|
$ echo "lts/*" > .nvmrc # to default to the latest LTS version
|
||||||
|
|
||||||
|
$ echo "node" > .nvmrc # to default to the latest version
|
||||||
|
```
|
||||||
|
|
||||||
|
Then when you run nvm:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ nvm use
|
||||||
|
Found '/path/to/project/.nvmrc' with version <5.9>
|
||||||
|
Now using node v5.9.1 (npm v3.7.3)
|
||||||
|
```
|
||||||
|
|
||||||
|
`nvm use` et. al. will traverse directory structure upwards from the current directory looking for the `.nvmrc` file. In other words, running `nvm use` et. al. in any subdirectory of a directory with an `.nvmrc` will result in that `.nvmrc` being utilized.
|
||||||
|
|
||||||
|
The contents of a `.nvmrc` file **must** be the `<version>` (as described by `nvm --help`) followed by a newline. No trailing spaces are allowed, and the trailing newline is required.
|
||||||
|
|
||||||
|
### Deeper Shell Integration
|
||||||
|
|
||||||
|
You can use [`avn`](https://github.com/wbyoung/avn) to deeply integrate into your shell and automatically invoke `nvm` when changing directories. `avn` is **not** supported by the `nvm` development team. Please [report issues to the `avn` team](https://github.com/wbyoung/avn/issues/new).
|
||||||
|
|
||||||
|
If you prefer a lighter-weight solution, the recipes below have been contributed by `nvm` users. They are **not** supported by the `nvm` development team. We are, however, accepting pull requests for more examples.
|
||||||
|
|
||||||
|
#### zsh
|
||||||
|
|
||||||
|
##### Calling `nvm use` automatically in a directory with a `.nvmrc` file
|
||||||
|
|
||||||
|
Put this into your `$HOME/.zshrc` to call `nvm use` automatically whenever you enter a directory that contains an
|
||||||
|
`.nvmrc` file with a string telling nvm which node to `use`:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
# place this after nvm initialization!
|
||||||
|
autoload -U add-zsh-hook
|
||||||
|
load-nvmrc() {
|
||||||
|
local node_version="$(nvm version)"
|
||||||
|
local nvmrc_path="$(nvm_find_nvmrc)"
|
||||||
|
|
||||||
|
if [ -n "$nvmrc_path" ]; then
|
||||||
|
local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")
|
||||||
|
|
||||||
|
if [ "$nvmrc_node_version" = "N/A" ]; then
|
||||||
|
nvm install
|
||||||
|
elif [ "$nvmrc_node_version" != "$node_version" ]; then
|
||||||
|
nvm use
|
||||||
|
fi
|
||||||
|
elif [ "$node_version" != "$(nvm version default)" ]; then
|
||||||
|
echo "Reverting to nvm default version"
|
||||||
|
nvm use default
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
add-zsh-hook chpwd load-nvmrc
|
||||||
|
load-nvmrc
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
nvm is released under the MIT license.
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 2010 Tim Caswell and Jordan Harband
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
## Running tests
|
||||||
|
Tests are written in [Urchin]. Install Urchin (and other dependencies) like so:
|
||||||
|
|
||||||
|
npm install
|
||||||
|
|
||||||
|
There are slow tests and fast tests. The slow tests do things like install node
|
||||||
|
and check that the right versions are used. The fast tests fake this to test
|
||||||
|
things like aliases and uninstalling. From the root of the nvm git repository,
|
||||||
|
run the fast tests like this:
|
||||||
|
|
||||||
|
npm run test/fast
|
||||||
|
|
||||||
|
Run the slow tests like this:
|
||||||
|
|
||||||
|
npm run test/slow
|
||||||
|
|
||||||
|
Run all of the tests like this:
|
||||||
|
|
||||||
|
npm test
|
||||||
|
|
||||||
|
Nota bene: Avoid running nvm while the tests are running.
|
||||||
|
|
||||||
|
## Bash completion
|
||||||
|
|
||||||
|
To activate, you need to source `bash_completion`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[[ -r $NVM_DIR/bash_completion ]] && \. $NVM_DIR/bash_completion
|
||||||
|
```
|
||||||
|
|
||||||
|
Put the above sourcing line just below the sourcing line for nvm in your profile (`.bashrc`, `.bash_profile`).
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
nvm:
|
||||||
|
> $ nvm <kbd>Tab</kbd>
|
||||||
|
```
|
||||||
|
alias deactivate install ls run unload
|
||||||
|
clear-cache exec list ls-remote unalias use
|
||||||
|
current help list-remote reinstall-packages uninstall version
|
||||||
|
```
|
||||||
|
|
||||||
|
nvm alias:
|
||||||
|
> $ nvm alias <kbd>Tab</kbd>
|
||||||
|
```
|
||||||
|
default
|
||||||
|
```
|
||||||
|
|
||||||
|
> $ nvm alias my_alias <kbd>Tab</kbd>
|
||||||
|
```
|
||||||
|
v0.6.21 v0.8.26 v0.10.28
|
||||||
|
```
|
||||||
|
|
||||||
|
nvm use:
|
||||||
|
> $ nvm use <kbd>Tab</kbd>
|
||||||
|
```
|
||||||
|
my_alias default v0.6.21 v0.8.26 v0.10.28
|
||||||
|
```
|
||||||
|
|
||||||
|
nvm uninstall:
|
||||||
|
> $ nvm uninstall <kbd>Tab</kbd>
|
||||||
|
```
|
||||||
|
my_alias default v0.6.21 v0.8.26 v0.10.28
|
||||||
|
```
|
||||||
|
|
||||||
|
## Compatibility Issues
|
||||||
|
`nvm` will encounter some issues if you have some non-default settings set. (see [#606](/../../issues/606))
|
||||||
|
The following are known to cause issues:
|
||||||
|
|
||||||
|
Inside `~/.npmrc`:
|
||||||
|
```sh
|
||||||
|
prefix='some/path'
|
||||||
|
```
|
||||||
|
Environment Variables:
|
||||||
|
```sh
|
||||||
|
$NPM_CONFIG_PREFIX
|
||||||
|
$PREFIX
|
||||||
|
```
|
||||||
|
Shell settings:
|
||||||
|
```sh
|
||||||
|
set -e
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing nvm on Alpine Linux
|
||||||
|
In order to provide the best performance (and other optimisations), nvm will download and install pre-compiled binaries for Node (and npm) when you run `nvm install X`. The Node project compiles, tests and hosts/provides pre-these compiled binaries which are built for mainstream/traditional Linux distributions (such as Debian, Ubuntu, CentOS, RedHat et al).
|
||||||
|
|
||||||
|
Alpine Linux, unlike mainstream/traditional Linux distributions, is based on [BusyBox](https://www.busybox.net/), a very compact (~5MB) Linux distribution. BusyBox (and thus Alpine Linux) uses a different C/C++ stack to most mainstream/traditional Linux distributions - [musl](https://www.musl-libc.org/). This makes binary programs built for such mainstream/traditional incompatible with Alpine Linux, thus we cannot simply `nvm install X` on Alpine Linux and expect the downloaded binary to run correctly - you'll likely see "...does not exist" errors if you try that.
|
||||||
|
|
||||||
|
There is a `-s` flag for `nvm install` which requests nvm download Node source and compile it locally.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
|
||||||
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries.
|
||||||
|
|
||||||
|
As a potential alternative, @mhart (a Node contributor) has some [Docker images for Alpine Linux with Node and optionally, npm, pre-installed](https://github.com/mhart/alpine-node).
|
||||||
|
|
||||||
|
## Removal
|
||||||
|
|
||||||
|
### Manual Uninstall
|
||||||
|
|
||||||
|
To remove nvm manually, execute the following:
|
||||||
|
```sh
|
||||||
|
$ rm -rf "$NVM_DIR"
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit ~/.bashrc (or other shell resource config) and remove the lines below:
|
||||||
|
```sh
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[[ -r $NVM_DIR/bash_completion ]] && \. $NVM_DIR/bash_completion
|
||||||
|
```
|
||||||
|
|
||||||
|
## Docker for development environment
|
||||||
|
|
||||||
|
To make the development and testing work easier, we have a Dockerfile for development usage, which is based on Ubuntu 14.04 base image, prepared with essential and useful tools for `nvm` development, to build the docker image of the environment, run the docker command at the root of `nvm` repository:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker build -t nvm-dev .
|
||||||
|
```
|
||||||
|
|
||||||
|
This will package your current nvm repository with our pre-defined development environment into a docker image named `nvm-dev`, once it's built with success, validate your image via `docker images`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker images
|
||||||
|
|
||||||
|
REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||||
|
nvm-dev latest 9ca4c57a97d8 7 days ago 650 MB
|
||||||
|
```
|
||||||
|
|
||||||
|
If you got no error message, now you can easily involve in:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker run -it nvm-dev -h nvm-dev
|
||||||
|
|
||||||
|
nvm@nvm-dev:~/.nvm$
|
||||||
|
```
|
||||||
|
|
||||||
|
Please note that it'll take about 8 minutes to build the image and the image size would be about 650MB, so it's not suitable for production usage.
|
||||||
|
|
||||||
|
For more information and documentation about docker, please refer to its official website:
|
||||||
|
- https://www.docker.com/
|
||||||
|
- https://docs.docker.com/
|
||||||
|
|
||||||
|
## Problems
|
||||||
|
|
||||||
|
- 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:
|
||||||
|
|
||||||
|
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
|
||||||
|
|
||||||
|
- Where's my `sudo node`? Check out [#43](https://github.com/creationix/nvm/issues/43)
|
||||||
|
|
||||||
|
- 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:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nvm install -s 0.8.6
|
||||||
|
```
|
||||||
|
|
||||||
|
- 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))
|
||||||
|
|
||||||
|
## Mac OS "troubleshooting"
|
||||||
|
|
||||||
|
**nvm node version not found in vim shell**
|
||||||
|
|
||||||
|
If you set node version to a version other than your system node version `nvm use 6.2.1` and open vim and run `:!node -v` you should see `v6.2.1` if you see your system version `v0.12.7`. You need to run:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sudo chmod ugo-x /usr/libexec/path_helper
|
||||||
|
```
|
||||||
|
|
||||||
|
More on this issue in [dotphiles/dotzsh](https://github.com/dotphiles/dotzsh#mac-os-x).
|
||||||
|
|
||||||
|
[1]: https://github.com/creationix/nvm.git
|
||||||
|
[2]: https://github.com/creationix/nvm/blob/v0.33.11/install.sh
|
||||||
|
[3]: https://travis-ci.org/creationix/nvm
|
||||||
|
[4]: https://github.com/creationix/nvm/releases/tag/v0.33.11
|
||||||
|
[Urchin]: https://github.com/scraperwiki/urchin
|
||||||
|
[Fish]: http://fishshell.com
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
This is a list of the primary features planned for `nvm`:
|
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).
|
- [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 bandwith bonus.
|
- 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).
|
- [ ] 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
|
- [ ] [`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
|
- [ ] [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
|
||||||
|
|||||||
@@ -2,10 +2,15 @@
|
|||||||
|
|
||||||
# bash completion for Node Version Manager (NVM)
|
# bash completion for Node Version Manager (NVM)
|
||||||
|
|
||||||
|
if ! command -v nvm &> /dev/null; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
__nvm_generate_completion()
|
__nvm_generate_completion()
|
||||||
{
|
{
|
||||||
declare current_word
|
declare current_word
|
||||||
current_word="${COMP_WORDS[COMP_CWORD]}"
|
current_word="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
# shellcheck disable=SC2207
|
||||||
COMPREPLY=($(compgen -W "$1" -- "$current_word"))
|
COMPREPLY=($(compgen -W "$1" -- "$current_word"))
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@@ -21,8 +26,9 @@ __nvm_commands ()
|
|||||||
help install uninstall use run exec
|
help install uninstall use run exec
|
||||||
alias unalias reinstall-packages
|
alias unalias reinstall-packages
|
||||||
current list ls list-remote ls-remote
|
current list ls list-remote ls-remote
|
||||||
clear-cache deactivate unload
|
install-latest-npm
|
||||||
version which'
|
cache deactivate unload
|
||||||
|
version version-remote which'
|
||||||
|
|
||||||
if [ ${#COMP_WORDS[@]} == 4 ]; then
|
if [ ${#COMP_WORDS[@]} == 4 ]; then
|
||||||
|
|
||||||
@@ -86,7 +92,7 @@ __nvm ()
|
|||||||
# ZSH, load and run bashcompinit before calling the complete function.
|
# ZSH, load and run bashcompinit before calling the complete function.
|
||||||
if [[ -n ${ZSH_VERSION-} ]]; then
|
if [[ -n ${ZSH_VERSION-} ]]; then
|
||||||
autoload -U +X bashcompinit && bashcompinit
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
autoload -U +X compinit && compinit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
complete -o default -o nospace -F __nvm nvm
|
complete -o default -F __nvm nvm
|
||||||
|
|
||||||
|
|||||||
160
install.sh
160
install.sh
@@ -7,11 +7,24 @@ nvm_has() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nvm_install_dir() {
|
nvm_install_dir() {
|
||||||
echo "${NVM_DIR:-"$HOME/.nvm"}"
|
command printf %s "${NVM_DIR:-"$HOME/.nvm"}"
|
||||||
}
|
}
|
||||||
|
|
||||||
nvm_latest_version() {
|
nvm_latest_version() {
|
||||||
echo "v0.33.0"
|
echo "v0.33.11"
|
||||||
|
}
|
||||||
|
|
||||||
|
nvm_profile_is_bash_or_zsh() {
|
||||||
|
local TEST_PROFILE
|
||||||
|
TEST_PROFILE="${1-}"
|
||||||
|
case "${TEST_PROFILE-}" in
|
||||||
|
*"/.bashrc" | *"/.bash_profile" | *"/.zshrc")
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
return 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -27,6 +40,8 @@ nvm_source() {
|
|||||||
NVM_SOURCE_URL="$NVM_SOURCE"
|
NVM_SOURCE_URL="$NVM_SOURCE"
|
||||||
if [ "_$NVM_METHOD" = "_script-nvm-exec" ]; then
|
if [ "_$NVM_METHOD" = "_script-nvm-exec" ]; then
|
||||||
NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm-exec"
|
NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm-exec"
|
||||||
|
elif [ "_$NVM_METHOD" = "_script-nvm-bash-completion" ]; then
|
||||||
|
NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/bash_completion"
|
||||||
elif [ -z "$NVM_SOURCE_URL" ]; then
|
elif [ -z "$NVM_SOURCE_URL" ]; then
|
||||||
if [ "_$NVM_METHOD" = "_script" ]; then
|
if [ "_$NVM_METHOD" = "_script" ]; then
|
||||||
NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm.sh"
|
NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm.sh"
|
||||||
@@ -49,15 +64,16 @@ nvm_node_version() {
|
|||||||
|
|
||||||
nvm_download() {
|
nvm_download() {
|
||||||
if nvm_has "curl"; then
|
if nvm_has "curl"; then
|
||||||
curl -q "$@"
|
curl --compressed -q "$@"
|
||||||
elif nvm_has "wget"; then
|
elif nvm_has "wget"; then
|
||||||
# Emulate curl with wget
|
# Emulate curl with wget
|
||||||
ARGS=$(echo "$*" | command sed -e 's/--progress-bar /--progress=bar /' \
|
ARGS=$(echo "$*" | command sed -e 's/--progress-bar /--progress=bar /' \
|
||||||
-e 's/-L //' \
|
-e 's/-L //' \
|
||||||
-e 's/-I /--server-response /' \
|
-e 's/--compressed //' \
|
||||||
-e 's/-s /-q /' \
|
-e 's/-I /--server-response /' \
|
||||||
-e 's/-o /-O /' \
|
-e 's/-s /-q /' \
|
||||||
-e 's/-C - /-c /')
|
-e 's/-o /-O /' \
|
||||||
|
-e 's/-C - /-c /')
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
eval wget $ARGS
|
eval wget $ARGS
|
||||||
fi
|
fi
|
||||||
@@ -69,15 +85,15 @@ install_nvm_from_git() {
|
|||||||
|
|
||||||
if [ -d "$INSTALL_DIR/.git" ]; then
|
if [ -d "$INSTALL_DIR/.git" ]; then
|
||||||
echo "=> nvm is already installed in $INSTALL_DIR, trying to update using git"
|
echo "=> nvm is already installed in $INSTALL_DIR, trying to update using git"
|
||||||
command printf "\r=> "
|
command printf '\r=> '
|
||||||
command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" fetch 2> /dev/null || {
|
command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" fetch origin tag "$(nvm_latest_version)" --depth=1 2> /dev/null || {
|
||||||
echo >&2 "Failed to update nvm, run 'git fetch' in $INSTALL_DIR yourself."
|
echo >&2 "Failed to update nvm, run 'git fetch' in $INSTALL_DIR yourself."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
# Cloning to $INSTALL_DIR
|
# Cloning to $INSTALL_DIR
|
||||||
echo "=> Downloading nvm from git to '$INSTALL_DIR'"
|
echo "=> Downloading nvm from git to '$INSTALL_DIR'"
|
||||||
command printf "\r=> "
|
command printf '\r=> '
|
||||||
mkdir -p "${INSTALL_DIR}"
|
mkdir -p "${INSTALL_DIR}"
|
||||||
if [ "$(ls -A "${INSTALL_DIR}")" ]; then
|
if [ "$(ls -A "${INSTALL_DIR}")" ]; then
|
||||||
command git init "${INSTALL_DIR}" || {
|
command git init "${INSTALL_DIR}" || {
|
||||||
@@ -89,18 +105,18 @@ install_nvm_from_git() {
|
|||||||
echo >&2 'Failed to add remote "origin" (or set the URL). Please report this!'
|
echo >&2 'Failed to add remote "origin" (or set the URL). Please report this!'
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
command git --git-dir="${INSTALL_DIR}/.git" fetch origin --tags || {
|
command git --git-dir="${INSTALL_DIR}/.git" fetch origin tag "$(nvm_latest_version)" --depth=1 || {
|
||||||
echo >&2 'Failed to fetch origin with tags. Please report this!'
|
echo >&2 'Failed to fetch origin with tags. Please report this!'
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
command git clone "$(nvm_source)" "${INSTALL_DIR}" || {
|
command git -c advice.detachedHead=false clone "$(nvm_source)" -b "$(nvm_latest_version)" --depth=1 "${INSTALL_DIR}" || {
|
||||||
echo >&2 'Failed to clone nvm repo. Please report this!'
|
echo >&2 'Failed to clone nvm repo. Please report this!'
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" checkout -f --quiet "$(nvm_latest_version)"
|
command git -c advice.detachedHead=false --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" checkout -f --quiet "$(nvm_latest_version)"
|
||||||
if [ ! -z "$(command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" show-ref refs/heads/master)" ]; then
|
if [ ! -z "$(command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" show-ref refs/heads/master)" ]; then
|
||||||
if command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" branch --quiet 2>/dev/null; then
|
if command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" branch --quiet 2>/dev/null; then
|
||||||
command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" branch --quiet -D master >/dev/null 2>&1
|
command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" branch --quiet -D master >/dev/null 2>&1
|
||||||
@@ -111,8 +127,11 @@ install_nvm_from_git() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=> Compressing and cleaning up git repository"
|
echo "=> Compressing and cleaning up git repository"
|
||||||
if ! command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" gc --aggressive --prune=now ; then
|
if ! command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" reflog expire --expire=now --all; then
|
||||||
echo >&2 "Your version of git is out of date. Please update it!"
|
echo >&2 "Your version of git is out of date. Please update it!"
|
||||||
|
fi
|
||||||
|
if ! command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" gc --auto --aggressive --prune=now ; then
|
||||||
|
echo >&2 "Your version of git is out of date. Please update it!"
|
||||||
fi
|
fi
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -121,22 +140,22 @@ install_nvm_from_git() {
|
|||||||
# Automatically install Node.js
|
# Automatically install Node.js
|
||||||
#
|
#
|
||||||
nvm_install_node() {
|
nvm_install_node() {
|
||||||
local NODE_VERSION
|
local NODE_VERSION_LOCAL
|
||||||
NODE_VERSION="$(nvm_node_version)"
|
NODE_VERSION_LOCAL="$(nvm_node_version)"
|
||||||
|
|
||||||
if [ -z "$NODE_VERSION" ]; then
|
if [ -z "$NODE_VERSION_LOCAL" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=> Installing Node.js version $NODE_VERSION"
|
echo "=> Installing Node.js version $NODE_VERSION_LOCAL"
|
||||||
nvm install "$NODE_VERSION"
|
nvm install "$NODE_VERSION_LOCAL"
|
||||||
local CURRENT_NVM_NODE
|
local CURRENT_NVM_NODE
|
||||||
|
|
||||||
CURRENT_NVM_NODE="$(nvm_version current)"
|
CURRENT_NVM_NODE="$(nvm_version current)"
|
||||||
if [ "$(nvm_version "$NODE_VERSION")" == "$CURRENT_NVM_NODE" ]; then
|
if [ "$(nvm_version "$NODE_VERSION_LOCAL")" == "$CURRENT_NVM_NODE" ]; then
|
||||||
echo "=> Node.js version $NODE_VERSION has been successfully installed"
|
echo "=> Node.js version $NODE_VERSION_LOCAL has been successfully installed"
|
||||||
else
|
else
|
||||||
echo >&2 "Failed to install Node.js $NODE_VERSION"
|
echo >&2 "Failed to install Node.js $NODE_VERSION_LOCAL"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -144,9 +163,11 @@ install_nvm_as_script() {
|
|||||||
local INSTALL_DIR
|
local INSTALL_DIR
|
||||||
INSTALL_DIR="$(nvm_install_dir)"
|
INSTALL_DIR="$(nvm_install_dir)"
|
||||||
local NVM_SOURCE_LOCAL
|
local NVM_SOURCE_LOCAL
|
||||||
NVM_SOURCE_LOCAL=$(nvm_source script)
|
NVM_SOURCE_LOCAL="$(nvm_source script)"
|
||||||
local NVM_EXEC_SOURCE
|
local NVM_EXEC_SOURCE
|
||||||
NVM_EXEC_SOURCE=$(nvm_source script-nvm-exec)
|
NVM_EXEC_SOURCE="$(nvm_source script-nvm-exec)"
|
||||||
|
local NVM_BASH_COMPLETION_SOURCE
|
||||||
|
NVM_BASH_COMPLETION_SOURCE="$(nvm_source script-nvm-bash-completion)"
|
||||||
|
|
||||||
# Downloading to $INSTALL_DIR
|
# Downloading to $INSTALL_DIR
|
||||||
mkdir -p "$INSTALL_DIR"
|
mkdir -p "$INSTALL_DIR"
|
||||||
@@ -158,17 +179,32 @@ install_nvm_as_script() {
|
|||||||
nvm_download -s "$NVM_SOURCE_LOCAL" -o "$INSTALL_DIR/nvm.sh" || {
|
nvm_download -s "$NVM_SOURCE_LOCAL" -o "$INSTALL_DIR/nvm.sh" || {
|
||||||
echo >&2 "Failed to download '$NVM_SOURCE_LOCAL'"
|
echo >&2 "Failed to download '$NVM_SOURCE_LOCAL'"
|
||||||
return 1
|
return 1
|
||||||
}
|
} &
|
||||||
nvm_download -s "$NVM_EXEC_SOURCE" -o "$INSTALL_DIR/nvm-exec" || {
|
nvm_download -s "$NVM_EXEC_SOURCE" -o "$INSTALL_DIR/nvm-exec" || {
|
||||||
echo >&2 "Failed to download '$NVM_EXEC_SOURCE'"
|
echo >&2 "Failed to download '$NVM_EXEC_SOURCE'"
|
||||||
return 2
|
return 2
|
||||||
}
|
} &
|
||||||
|
nvm_download -s "$NVM_BASH_COMPLETION_SOURCE" -o "$INSTALL_DIR/bash_completion" || {
|
||||||
|
echo >&2 "Failed to download '$NVM_BASH_COMPLETION_SOURCE'"
|
||||||
|
return 2
|
||||||
|
} &
|
||||||
|
for job in $(jobs -p | command sort)
|
||||||
|
do
|
||||||
|
wait "$job" || return $?
|
||||||
|
done
|
||||||
chmod a+x "$INSTALL_DIR/nvm-exec" || {
|
chmod a+x "$INSTALL_DIR/nvm-exec" || {
|
||||||
echo >&2 "Failed to mark '$INSTALL_DIR/nvm-exec' as executable"
|
echo >&2 "Failed to mark '$INSTALL_DIR/nvm-exec' as executable"
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nvm_try_profile() {
|
||||||
|
if [ -z "${1-}" ] || [ ! -f "${1}" ]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
echo "${1}"
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Detect profile file if not specified as environment variable
|
# Detect profile file if not specified as environment variable
|
||||||
# (eg: PROFILE=~/.myprofile)
|
# (eg: PROFILE=~/.myprofile)
|
||||||
@@ -183,29 +219,24 @@ nvm_detect_profile() {
|
|||||||
|
|
||||||
local DETECTED_PROFILE
|
local DETECTED_PROFILE
|
||||||
DETECTED_PROFILE=''
|
DETECTED_PROFILE=''
|
||||||
local SHELLTYPE
|
|
||||||
SHELLTYPE="$(basename "/$SHELL")"
|
|
||||||
|
|
||||||
if [ "$SHELLTYPE" = "bash" ]; then
|
if [ -n "${BASH_VERSION-}" ]; then
|
||||||
if [ -f "$HOME/.bashrc" ]; then
|
if [ -f "$HOME/.bashrc" ]; then
|
||||||
DETECTED_PROFILE="$HOME/.bashrc"
|
DETECTED_PROFILE="$HOME/.bashrc"
|
||||||
elif [ -f "$HOME/.bash_profile" ]; then
|
elif [ -f "$HOME/.bash_profile" ]; then
|
||||||
DETECTED_PROFILE="$HOME/.bash_profile"
|
DETECTED_PROFILE="$HOME/.bash_profile"
|
||||||
fi
|
fi
|
||||||
elif [ "$SHELLTYPE" = "zsh" ]; then
|
elif [ -n "${ZSH_VERSION-}" ]; then
|
||||||
DETECTED_PROFILE="$HOME/.zshrc"
|
DETECTED_PROFILE="$HOME/.zshrc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$DETECTED_PROFILE" ]; then
|
if [ -z "$DETECTED_PROFILE" ]; then
|
||||||
if [ -f "$HOME/.profile" ]; then
|
for EACH_PROFILE in ".profile" ".bashrc" ".bash_profile" ".zshrc"
|
||||||
DETECTED_PROFILE="$HOME/.profile"
|
do
|
||||||
elif [ -f "$HOME/.bashrc" ]; then
|
if DETECTED_PROFILE="$(nvm_try_profile "${HOME}/${EACH_PROFILE}")"; then
|
||||||
DETECTED_PROFILE="$HOME/.bashrc"
|
break
|
||||||
elif [ -f "$HOME/.bash_profile" ]; then
|
fi
|
||||||
DETECTED_PROFILE="$HOME/.bash_profile"
|
done
|
||||||
elif [ -f "$HOME/.zshrc" ]; then
|
|
||||||
DETECTED_PROFILE="$HOME/.zshrc"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$DETECTED_PROFILE" ]; then
|
if [ ! -z "$DETECTED_PROFILE" ]; then
|
||||||
@@ -228,15 +259,14 @@ nvm_check_global_modules() {
|
|||||||
local NPM_GLOBAL_MODULES
|
local NPM_GLOBAL_MODULES
|
||||||
NPM_GLOBAL_MODULES="$(
|
NPM_GLOBAL_MODULES="$(
|
||||||
npm list -g --depth=0 |
|
npm list -g --depth=0 |
|
||||||
command sed '/ npm@/d' |
|
command sed -e '/ npm@/d' -e '/ (empty)$/d'
|
||||||
command sed '/ (empty)$/d'
|
|
||||||
)"
|
)"
|
||||||
|
|
||||||
local MODULE_COUNT
|
local MODULE_COUNT
|
||||||
MODULE_COUNT="$(
|
MODULE_COUNT="$(
|
||||||
command printf %s\\n "$NPM_GLOBAL_MODULES" |
|
command printf %s\\n "$NPM_GLOBAL_MODULES" |
|
||||||
command sed -ne '1!p' | # Remove the first line
|
command sed -ne '1!p' | # Remove the first line
|
||||||
wc -l | tr -d ' ' # Count entries
|
wc -l | command tr -d ' ' # Count entries
|
||||||
)"
|
)"
|
||||||
|
|
||||||
if [ "${MODULE_COUNT}" != '0' ]; then
|
if [ "${MODULE_COUNT}" != '0' ]; then
|
||||||
@@ -262,6 +292,10 @@ nvm_check_global_modules() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nvm_do_install() {
|
nvm_do_install() {
|
||||||
|
if [ -n "${NVM_DIR-}" ] && ! [ -d "${NVM_DIR}" ]; then
|
||||||
|
echo >&2 "You have \$NVM_DIR set to \"${NVM_DIR}\", but that directory does not exist. Check your profile files and environment."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
if [ -z "${METHOD}" ]; then
|
if [ -z "${METHOD}" ]; then
|
||||||
# Autodetect install method
|
# Autodetect install method
|
||||||
if nvm_has git; then
|
if nvm_has git; then
|
||||||
@@ -290,26 +324,30 @@ nvm_do_install() {
|
|||||||
|
|
||||||
local NVM_PROFILE
|
local NVM_PROFILE
|
||||||
NVM_PROFILE="$(nvm_detect_profile)"
|
NVM_PROFILE="$(nvm_detect_profile)"
|
||||||
local INSTALL_DIR
|
local PROFILE_INSTALL_DIR
|
||||||
INSTALL_DIR="$(nvm_install_dir)"
|
PROFILE_INSTALL_DIR="$(nvm_install_dir | command sed "s:^$HOME:\$HOME:")"
|
||||||
|
|
||||||
SOURCE_STR="\nexport NVM_DIR=\"$INSTALL_DIR\"\n[ -s \"\$NVM_DIR/nvm.sh\" ] && \\. \"\$NVM_DIR/nvm.sh\" # This loads nvm\n"
|
SOURCE_STR="\\nexport NVM_DIR=\"${PROFILE_INSTALL_DIR}\"\\n[ -s \"\$NVM_DIR/nvm.sh\" ] && \\. \"\$NVM_DIR/nvm.sh\" # This loads nvm\\n"
|
||||||
COMPLETION_STR="[ -s \"\$NVM_DIR/bash_completion\" ] && \\. \"\$NVM_DIR/bash_completion\" # This loads nvm bash_completion\n"
|
|
||||||
|
# shellcheck disable=SC2016
|
||||||
|
COMPLETION_STR='[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion\n'
|
||||||
BASH_OR_ZSH=false
|
BASH_OR_ZSH=false
|
||||||
|
|
||||||
if [ -z "${NVM_PROFILE-}" ] ; then
|
if [ -z "${NVM_PROFILE-}" ] ; then
|
||||||
echo "=> Profile not found. Tried ${NVM_PROFILE} (as defined in \$PROFILE), ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile."
|
local TRIED_PROFILE
|
||||||
|
if [ -n "${PROFILE}" ]; then
|
||||||
|
TRIED_PROFILE="${NVM_PROFILE} (as defined in \$PROFILE), "
|
||||||
|
fi
|
||||||
|
echo "=> Profile not found. Tried ${TRIED_PROFILE-}~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile."
|
||||||
echo "=> Create one of them and run this script again"
|
echo "=> Create one of them and run this script again"
|
||||||
echo "=> Create it (touch ${NVM_PROFILE}) and run this script again"
|
|
||||||
echo " OR"
|
echo " OR"
|
||||||
echo "=> Append the following lines to the correct file yourself:"
|
echo "=> Append the following lines to the correct file yourself:"
|
||||||
command printf "${SOURCE_STR}"
|
command printf "${SOURCE_STR}"
|
||||||
|
echo
|
||||||
else
|
else
|
||||||
case "${NVM_PROFILE-}" in
|
if nvm_profile_is_bash_or_zsh "${NVM_PROFILE-}"; then
|
||||||
".bashrc" | ".bash_profile" | ".zshrc")
|
BASH_OR_ZSH=true
|
||||||
BASH_OR_ZSH=true
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
if ! command grep -qc '/nvm.sh' "$NVM_PROFILE"; then
|
if ! command grep -qc '/nvm.sh' "$NVM_PROFILE"; then
|
||||||
echo "=> Appending nvm source string to $NVM_PROFILE"
|
echo "=> Appending nvm source string to $NVM_PROFILE"
|
||||||
command printf "${SOURCE_STR}" >> "$NVM_PROFILE"
|
command printf "${SOURCE_STR}" >> "$NVM_PROFILE"
|
||||||
@@ -331,7 +369,7 @@ nvm_do_install() {
|
|||||||
|
|
||||||
# Source nvm
|
# Source nvm
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
\. "${INSTALL_DIR}/nvm.sh"
|
\. "$(nvm_install_dir)/nvm.sh"
|
||||||
|
|
||||||
nvm_check_global_modules
|
nvm_check_global_modules
|
||||||
|
|
||||||
@@ -342,7 +380,7 @@ nvm_do_install() {
|
|||||||
echo "=> Close and reopen your terminal to start using nvm or run the following to use it now:"
|
echo "=> Close and reopen your terminal to start using nvm or run the following to use it now:"
|
||||||
command printf "${SOURCE_STR}"
|
command printf "${SOURCE_STR}"
|
||||||
if ${BASH_OR_ZSH} ; then
|
if ${BASH_OR_ZSH} ; then
|
||||||
command printf " && ${COMPLETION_STR}"
|
command printf "${COMPLETION_STR}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -351,10 +389,10 @@ nvm_do_install() {
|
|||||||
# during the execution of the install script
|
# during the execution of the install script
|
||||||
#
|
#
|
||||||
nvm_reset() {
|
nvm_reset() {
|
||||||
unset -f nvm_reset nvm_has nvm_latest_version \
|
unset -f nvm_has nvm_install_dir nvm_latest_version nvm_profile_is_bash_or_zsh \
|
||||||
nvm_source nvm_download install_nvm_as_script install_nvm_from_git \
|
nvm_source nvm_node_version nvm_download install_nvm_from_git nvm_install_node \
|
||||||
nvm_detect_profile nvm_check_global_modules nvm_do_install \
|
install_nvm_as_script nvm_try_profile nvm_detect_profile nvm_check_global_modules \
|
||||||
nvm_install_dir nvm_node_version nvm_install_node
|
nvm_do_install nvm_reset
|
||||||
}
|
}
|
||||||
|
|
||||||
[ "_$NVM_ENV" = "_testing" ] || nvm_do_install
|
[ "_$NVM_ENV" = "_testing" ] || nvm_do_install
|
||||||
|
|||||||
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nvm",
|
"name": "nvm",
|
||||||
"version": "0.33.0",
|
"version": "0.33.11",
|
||||||
"description": "Node Version Manager - Simple bash script to manage multiple active node.js versions",
|
"description": "Node Version Manager - Simple bash script to manage multiple active node.js versions",
|
||||||
"directories": {
|
"directories": {
|
||||||
"test": "test"
|
"test": "test"
|
||||||
@@ -13,7 +13,9 @@
|
|||||||
"test/installation": "npm run --silent test/installation/node && npm run --silent test/installation/iojs",
|
"test/installation": "npm run --silent test/installation/node && npm run --silent test/installation/iojs",
|
||||||
"test/installation/node": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_node test-$shell",
|
"test/installation/node": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_node test-$shell",
|
||||||
"test/installation/iojs": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_iojs test-$shell",
|
"test/installation/iojs": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_iojs test-$shell",
|
||||||
"test/sourcing": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=sourcing test-$shell"
|
"test/sourcing": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=sourcing test-$shell",
|
||||||
|
"doctoc": "doctoc --title='## Table of Contents' --github README.md",
|
||||||
|
"eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -33,8 +35,10 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/creationix/nvm",
|
"homepage": "https://github.com/creationix/nvm",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"eclint": "^2.6.0",
|
||||||
"replace": "^0.3.0",
|
"replace": "^0.3.0",
|
||||||
"semver": "^5.0.1",
|
"semver": "^5.0.1",
|
||||||
"urchin": "^0.0.5"
|
"urchin": "^0.0.5",
|
||||||
|
"doctoc": "^1.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,4 +24,3 @@ EXPECTED_OUTPUT="Aliases in subdirectories are not supported."
|
|||||||
|
|
||||||
EXIT_CODE="$(nvm alias /bar baz >/dev/null 2>&1 ; echo $?)"
|
EXIT_CODE="$(nvm alias /bar baz >/dev/null 2>&1 ; echo $?)"
|
||||||
[ "$EXIT_CODE" = "1" ] || die "trying to create an alias starting with a slash should fail with code 1, got '$EXIT_CODE'"
|
[ "$EXIT_CODE" = "1" ] || die "trying to create an alias starting with a slash should fail with code 1, got '$EXIT_CODE'"
|
||||||
|
|
||||||
|
|||||||
@@ -24,4 +24,3 @@ EXPECTED_OUTPUT="Aliases in subdirectories are not supported."
|
|||||||
|
|
||||||
EXIT_CODE="$(nvm unalias /bar >/dev/null 2>&1 ; echo $?)"
|
EXIT_CODE="$(nvm unalias /bar >/dev/null 2>&1 ; echo $?)"
|
||||||
[ "$EXIT_CODE" = "1" ] || die "trying to remove an alias starting with a slash should fail with code 1, got '$EXIT_CODE'"
|
[ "$EXIT_CODE" = "1" ] || die "trying to remove an alias starting with a slash should fail with code 1, got '$EXIT_CODE'"
|
||||||
|
|
||||||
|
|||||||
@@ -24,4 +24,3 @@ EXPECTED_IOJS="$(nvm_print_implicit_alias local iojs)"
|
|||||||
IOJS_VERSION="$(nvm_version "$EXPECTED_IOJS")"
|
IOJS_VERSION="$(nvm_version "$EXPECTED_IOJS")"
|
||||||
echo "$NVM_ALIAS_OUTPUT" | \grep -F "iojs -> $EXPECTED_IOJS (-> $IOJS_VERSION) (default)" \
|
echo "$NVM_ALIAS_OUTPUT" | \grep -F "iojs -> $EXPECTED_IOJS (-> $IOJS_VERSION) (default)" \
|
||||||
|| die "nvm alias did not contain the default local iojs version; got '$NVM_ALIAS_OUTPUT'"
|
|| die "nvm alias did not contain the default local iojs version; got '$NVM_ALIAS_OUTPUT'"
|
||||||
|
|
||||||
|
|||||||
@@ -7,4 +7,3 @@ echo three > ../../../../alias/two
|
|||||||
echo one > ../../../../alias/three
|
echo one > ../../../../alias/three
|
||||||
|
|
||||||
echo two > ../../../../alias/four
|
echo two > ../../../../alias/four
|
||||||
|
|
||||||
|
|||||||
@@ -7,4 +7,3 @@ rm -f ../../../../alias/two
|
|||||||
rm -f ../../../../alias/three
|
rm -f ../../../../alias/three
|
||||||
|
|
||||||
rm -f ../../../../alias/four
|
rm -f ../../../../alias/four
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ set -ex
|
|||||||
|
|
||||||
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
||||||
|
|
||||||
|
rm -rf "${LTS_ALIAS_PATH}"
|
||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
||||||
|
|||||||
18
test/fast/Listing versions/Using a nonstandard IFS should not break
Executable file
18
test/fast/Listing versions/Using a nonstandard IFS should not break
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
mkdir "${NVM_DIR}/v0.0.1"
|
||||||
|
mkdir "${NVM_DIR}/v0.0.3"
|
||||||
|
mkdir "${NVM_DIR}/v0.0.9"
|
||||||
|
mkdir "${NVM_DIR}/v0.3.1"
|
||||||
|
mkdir "${NVM_DIR}/v0.3.3"
|
||||||
|
mkdir "${NVM_DIR}/v0.3.9"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/node/v0.12.87"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/node/v0.12.9"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/io.js/v0.1.2"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/io.js/v0.10.2"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
IFS='' nvm ls
|
||||||
@@ -14,4 +14,3 @@ rmdir ../../../versions >/dev/null 2>&1
|
|||||||
unalias nvm_has_system_node >/dev/null 2>&1
|
unalias nvm_has_system_node >/dev/null 2>&1
|
||||||
rm -f ../../../alias/stable >/dev/null 2>&1
|
rm -f ../../../alias/stable >/dev/null 2>&1
|
||||||
rm -f ../../../alias/unstable >/dev/null 2>&1
|
rm -f ../../../alias/unstable >/dev/null 2>&1
|
||||||
|
|
||||||
|
|||||||
@@ -6,17 +6,17 @@ mkdir -p ../../v0.2.3
|
|||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
[ `expr $PATH : ".*v0.2.3/.*/bin"` = 0 ] || echo "WARNING: Unexpectedly found v0.2.3 already active" >&2
|
[ `expr $PATH : ".*v0.2.3/.*/bin.*"` = 0 ] || echo "WARNING: Unexpectedly found v0.2.3 already active" >&2
|
||||||
|
|
||||||
\. ../../nvm.sh
|
\. ../../nvm.sh
|
||||||
|
|
||||||
nvm use --delete-prefix v0.2.3 || die "Failed to activate v0.2.3"
|
nvm use --delete-prefix v0.2.3 || die "Failed to activate v0.2.3"
|
||||||
[ `expr "$PATH" : ".*v0.2.3/.*/bin"` != 0 ] || die "PATH not set up properly"
|
[ `expr "$PATH" : ".*v0.2.3/.*/bin.*"` != 0 ] || die "PATH not set up properly"
|
||||||
[ `expr "$NODE_PATH" : ".*v0.2.3/.*/lib/node_modules"` = 0 ] || die "NODE_PATH should not contain (npm root -g)"
|
[ `expr "$NODE_PATH" : ".*v0.2.3/.*/lib/node_modules.*"` = 0 ] || die "NODE_PATH should not contain (npm root -g)"
|
||||||
# ^ note: NODE_PATH should not contain `npm root -g` since globals should not be requireable
|
# ^ note: NODE_PATH should not contain `npm root -g` since globals should not be requireable
|
||||||
[ `expr "$NVM_BIN" : ".*v0.2.3/bin"` != 0 ] || die "NODE_BIN should contain bin directory path"
|
[ `expr "$NVM_BIN" : ".*v0.2.3/bin"` != 0 ] || die "NODE_BIN should contain bin directory path"
|
||||||
|
|
||||||
nvm deactivate || die "Failed to deactivate v0.2.3"
|
nvm deactivate || die "Failed to deactivate v0.2.3"
|
||||||
[ `expr "$PATH" : ".*v0.2.3/.*/bin"` = 0 ] || die "PATH not cleaned properly"
|
[ `expr "$PATH" : ".*v0.2.3/.*/bin.*"` = 0 ] || die "PATH not cleaned properly"
|
||||||
[ `expr "$NODE_PATH" : ".*v0.2.3/.*/lib/node_modules"` = 0 ] || die "NODE_PATH not cleaned properly"
|
[ `expr "$NODE_PATH" : ".*v0.2.3/.*/lib/node_modules.*"` = 0 ] || die "NODE_PATH not cleaned properly"
|
||||||
[ "_$NVM_BIN" = "_" ] || die "NVM_BIN should be unset: got '$NVM_BIN'"
|
[ "_$NVM_BIN" = "_" ] || die "NVM_BIN should be unset: got '$NVM_BIN'"
|
||||||
|
|||||||
@@ -39,4 +39,18 @@ set -e
|
|||||||
[ $INSTALL_EXIT_CODE -eq 4 ] \
|
[ $INSTALL_EXIT_CODE -eq 4 ] \
|
||||||
|| die ""nvm install --reinstall-packages-from" should exit with code 4 when given the same version, got $INSTALL_EXIT_CODE"
|
|| die ""nvm install --reinstall-packages-from" should exit with code 4 when given the same version, got $INSTALL_EXIT_CODE"
|
||||||
|
|
||||||
|
set +ex # needed for stderr
|
||||||
|
INSTALL_ERROR_MSG="$(nvm install v0.10.5 --reinstall-packages-from 2>&1)"
|
||||||
|
set -ex
|
||||||
|
EXPECTED_ERROR_MSG='If --reinstall-packages-from is provided, it must point to an installed version of node using `=`.'
|
||||||
|
[ "~$INSTALL_ERROR_MSG" = "~$EXPECTED_ERROR_MSG" ] \
|
||||||
|
|| die ""nvm install --reinstall-packages-from" should fail when given an uninstalled version: expected '$EXPECTED_ERROR_MSG', got '$INSTALL_ERROR_MSG'"
|
||||||
|
|
||||||
|
set +ex # needed for stderr
|
||||||
|
INSTALL_ERROR_MSG="$(nvm install v0.10.5 --reinstall-packages-from= 2>&1)"
|
||||||
|
set -ex
|
||||||
|
EXPECTED_ERROR_MSG="If --reinstall-packages-from is provided, it must point to an installed version of node."
|
||||||
|
[ "~$INSTALL_ERROR_MSG" = "~$EXPECTED_ERROR_MSG" ] \
|
||||||
|
|| die ""nvm install --reinstall-packages-from" should fail when given an uninstalled version: expected '$EXPECTED_ERROR_MSG', got '$INSTALL_ERROR_MSG'"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ die () { echo "$@" ; cleanup ; exit 1; }
|
|||||||
|
|
||||||
typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${BEFORE}"
|
typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${BEFORE}"
|
||||||
|
|
||||||
|
set +e # TODO: fix
|
||||||
\. ../../nvm.sh
|
\. ../../nvm.sh
|
||||||
|
set -e
|
||||||
|
|
||||||
type nvm > /dev/null 2>&1 || die "nvm not loaded"
|
type nvm > /dev/null 2>&1 || die "nvm not loaded"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -ex
|
set -eux
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
unset -f nvm_has_system_node nvm_print_npm_version
|
unset -f nvm_has_system_node nvm_print_npm_version
|
||||||
|
|||||||
@@ -1,15 +1,95 @@
|
|||||||
version date files npm v8 uv zlib openssl modules lts
|
version date files npm v8 uv zlib openssl modules lts
|
||||||
v6.9.0 2016-10-18 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 Boron
|
v9.11.1 2018-04-05 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2o 59 -
|
||||||
v6.8.1 2016-10-14 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 -
|
v9.11.0 2018-04-04 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2o 59 -
|
||||||
v6.8.0 2016-10-12 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 -
|
v9.10.1 2018-03-29 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2o 59 -
|
||||||
v6.7.0 2016-09-27 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.3 5.1.281.83 1.9.1 1.2.8 1.0.2j 48 -
|
v9.10.0 2018-03-28 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2o 59 -
|
||||||
v6.6.0 2016-09-14 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.3 5.1.281.83 1.9.1 1.2.8 1.0.2h 48 -
|
v9.9.0 2018-03-21 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2n 59 -
|
||||||
v6.5.0 2016-08-26 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.3 5.1.281.81 1.9.1 1.2.8 1.0.2h 48 -
|
v9.8.0 2018-03-07 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2n 59 -
|
||||||
v6.4.0 2016-08-12 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.3 5.0.71.60 1.9.1 1.2.8 1.0.2h 48 -
|
v9.7.1 2018-03-02 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2n 59 -
|
||||||
v6.3.1 2016-07-21 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.3 5.0.71.57 1.9.1 1.2.8 1.0.2h 48 -
|
v9.7.0 2018-03-01 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.2 1.2.11 1.0.2n 59 -
|
||||||
v6.3.0 2016-07-06 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.10.3 5.0.71.52 1.9.1 1.2.8 1.0.2h 48 -
|
v9.6.1 2018-02-23 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.1 1.2.11 1.0.2n 59 -
|
||||||
v6.2.2 2016-06-16 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.9.5 5.0.71.52 1.9.1 1.2.8 1.0.2h 48 -
|
v9.6.0 2018-02-21 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.1 1.2.11 1.0.2n 59 -
|
||||||
v6.2.1 2016-06-02 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.9.3 5.0.71.52 1.9.1 1.2.8 1.0.2h 48 -
|
v9.5.0 2018-01-31 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.19.1 1.2.11 1.0.2n 59 -
|
||||||
|
v9.4.0 2018-01-10 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.46 1.18.0 1.2.11 1.0.2n 59 -
|
||||||
|
v9.3.0 2017-12-12 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.2.414.46 1.18.0 1.2.11 1.0.2n 59 -
|
||||||
|
v9.2.1 2017-12-08 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.2.414.44 1.16.1 1.2.11 1.0.2n 59 -
|
||||||
|
v9.2.0 2017-11-14 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.2.414.44 1.16.1 1.2.11 1.0.2m 59 -
|
||||||
|
v9.1.0 2017-11-07 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.2.414.32 1.15.0 1.2.11 1.0.2m 59 -
|
||||||
|
v9.0.0 2017-10-31 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.2.414.32 1.15.0 1.2.11 1.0.2l 59 -
|
||||||
|
v8.11.1 2018-03-29 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.50 1.19.1 1.2.11 1.0.2o 57 Carbon
|
||||||
|
v8.11.0 2018-03-28 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.50 1.19.1 1.2.11 1.0.2o 57 Carbon
|
||||||
|
v8.10.0 2018-03-06 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.2.414.50 1.19.1 1.2.11 1.0.2n 57 Carbon
|
||||||
|
v8.9.4 2018-01-02 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.6.0 6.1.534.50 1.15.0 1.2.11 1.0.2n 57 Carbon
|
||||||
|
v8.9.3 2017-12-07 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.1.534.48 1.15.0 1.2.11 1.0.2n 57 Carbon
|
||||||
|
v8.9.2 2017-12-05 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.1.534.48 1.15.0 1.2.11 1.0.2m 57 Carbon
|
||||||
|
v8.9.1 2017-11-07 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.1.534.47 1.15.0 1.2.11 1.0.2m 57 Carbon
|
||||||
|
v8.9.0 2017-10-31 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.5.1 6.1.534.46 1.15.0 1.2.11 1.0.2l 57 Carbon
|
||||||
|
v8.8.1 2017-10-25 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.4.2 6.1.534.42 1.15.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.8.0 2017-10-24 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.4.2 6.1.534.42 1.15.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.7.0 2017-10-11 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.4.2 6.1.534.42 1.15.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.6.0 2017-09-26 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.3.0 6.0.287.53 1.14.1 1.2.11 1.0.2l 57 -
|
||||||
|
v8.5.0 2017-09-12 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.3.0 6.0.287.53 1.14.1 1.2.11 1.0.2l 57 -
|
||||||
|
v8.4.0 2017-08-15 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.3.0 6.0.286.52 1.13.1 1.2.11 1.0.2l 57 -
|
||||||
|
v8.3.0 2017-08-08 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.3.0 6.0.286.52 1.13.1 1.2.11 1.0.2l 57 -
|
||||||
|
v8.2.1 2017-07-20 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.3.0 5.8.283.41 1.13.1 1.2.11 1.0.2l 57 -
|
||||||
|
v8.2.0 2017-07-19 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.3.0 5.8.283.41 1.13.1 1.2.11 1.0.2l 57 -
|
||||||
|
v8.1.4 2017-07-11 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.0.3 5.8.283.41 1.12.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.1.3 2017-06-29 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.0.3 5.8.283.41 1.12.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.1.2 2017-06-15 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.0.3 5.8.283.41 1.12.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.1.1 2017-06-13 aix-ppc64,headers,linux-arm64,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.0.3 5.8.283.41 1.12.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.1.0 2017-06-08 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.0.3 5.8.283.41 1.12.0 1.2.11 1.0.2l 57 -
|
||||||
|
v8.0.0 2017-05-30 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 5.0.0 5.8.283.41 1.11.0 1.2.11 1.0.2k 57 -
|
||||||
|
v7.10.1 2017-07-11 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.2.0 5.5.372.43 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.10.0 2017-05-02 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.2.0 5.5.372.43 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.9.0 2017-04-11 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.2.0 5.5.372.43 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.8.0 2017-03-29 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.2.0 5.5.372.43 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.7.4 2017-03-21 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.5.372.42 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.7.3 2017-03-14 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.5.372.41 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.7.2 2017-03-08 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.5.372.41 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.7.1 2017-03-02 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.5.372.41 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.7.0 2017-02-28 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.5.372.41 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.6.0 2017-02-21 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.5.372.40 1.11.0 1.2.11 1.0.2k 51 -
|
||||||
|
v7.5.0 2017-01-31 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.1.2 5.4.500.48 1.10.2 1.2.8 1.0.2k 51 -
|
||||||
|
v7.4.0 2017-01-04 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 4.0.5 5.4.500.45 1.10.1 1.2.8 1.0.2j 51 -
|
||||||
|
v7.3.0 2016-12-20 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.4.500.45 1.10.1 1.2.8 1.0.2j 51 -
|
||||||
|
v7.2.1 2016-12-06 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.4.500.44 1.10.1 1.2.8 1.0.2j 51 -
|
||||||
|
v7.2.0 2016-11-22 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.9 5.4.500.43 1.10.1 1.2.8 1.0.2j 51 -
|
||||||
|
v7.1.0 2016-11-08 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.9 5.4.500.36 1.10.0 1.2.8 1.0.2j 51 -
|
||||||
|
v7.0.0 2016-10-25 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.8 5.4.500.36 1.9.1 1.2.8 1.0.2j 51 -
|
||||||
|
v6.14.1 2018-03-29 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.111 1.16.1 1.2.11 1.0.2o 48 Boron
|
||||||
|
v6.14.0 2018-03-28 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.111 1.16.1 1.2.11 1.0.2o 48 Boron
|
||||||
|
v6.13.1 2018-03-06 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.111 1.16.1 1.2.11 1.0.2n 48 Boron
|
||||||
|
v6.13.0 2018-02-10 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.111 1.16.1 1.2.11 1.0.2n 48 Boron
|
||||||
|
v6.12.3 2018-01-02 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.111 1.15.0 1.2.11 1.0.2n 48 Boron
|
||||||
|
v6.12.2 2017-12-07 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.109 1.15.0 1.2.11 1.0.2n 48 Boron
|
||||||
|
v6.12.1 2017-12-05 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.109 1.15.0 1.2.11 1.0.2m 48 Boron
|
||||||
|
v6.12.0 2017-11-06 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.108 1.15.0 1.2.11 1.0.2m 48 Boron
|
||||||
|
v6.11.5 2017-10-24 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.108 1.11.0 1.2.11 1.0.2l 48 Boron
|
||||||
|
v6.11.4 2017-10-03 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.108 1.11.0 1.2.11 1.0.2l 48 Boron
|
||||||
|
v6.11.3 2017-09-05 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.107 1.11.0 1.2.11 1.0.2l 48 Boron
|
||||||
|
v6.11.2 2017-08-01 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.103 1.11.0 1.2.11 1.0.2l 48 Boron
|
||||||
|
v6.11.1 2017-07-10 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.103 1.11.0 1.2.11 1.0.2k 48 Boron
|
||||||
|
v6.11.0 2017-06-06 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.102 1.11.0 1.2.11 1.0.2k 48 Boron
|
||||||
|
v6.10.3 2017-05-02 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.101 1.9.1 1.2.11 1.0.2k 48 Boron
|
||||||
|
v6.10.2 2017-04-04 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.98 1.9.1 1.2.11 1.0.2k 48 Boron
|
||||||
|
v6.10.1 2017-03-21 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.95 1.9.1 1.2.8 1.0.2k 48 Boron
|
||||||
|
v6.10.0 2017-02-21 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.93 1.9.1 1.2.8 1.0.2k 48 Boron
|
||||||
|
v6.9.5 2017-01-31 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.89 1.9.1 1.2.8 1.0.2k 48 Boron
|
||||||
|
v6.9.4 2017-01-05 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.89 1.9.1 1.2.8 1.0.2j 48 Boron
|
||||||
|
v6.9.3 2017-01-05 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.10 5.1.281.89 1.9.1 1.2.8 1.0.2j 48 Boron
|
||||||
|
v6.9.2 2016-12-06 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.9 5.1.281.88 1.9.1 1.2.8 1.0.2j 48 Boron
|
||||||
|
v6.9.1 2016-10-19 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 Boron
|
||||||
|
v6.9.0 2016-10-18 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 Boron
|
||||||
|
v6.8.1 2016-10-14 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 -
|
||||||
|
v6.8.0 2016-10-12 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.8 5.1.281.84 1.9.1 1.2.8 1.0.2j 48 -
|
||||||
|
v6.7.0 2016-09-27 aix-ppc64,headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.3 5.1.281.83 1.9.1 1.2.8 1.0.2j 48 -
|
||||||
|
v6.6.0 2016-09-14 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.3 5.1.281.83 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
|
v6.5.0 2016-08-26 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.3 5.1.281.81 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
|
v6.4.0 2016-08-12 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.3 5.0.71.60 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
|
v6.3.1 2016-07-21 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.3 5.0.71.57 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
|
v6.3.0 2016-07-06 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.10.3 5.0.71.52 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
|
v6.2.2 2016-06-16 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.9.5 5.0.71.52 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
|
v6.2.1 2016-06-02 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 3.9.3 5.0.71.52 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
v6.2.0 2016-05-17 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.8.9 5.0.71.47 1.9.1 1.2.8 1.0.2h 48 -
|
v6.2.0 2016-05-17 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.8.9 5.0.71.47 1.9.1 1.2.8 1.0.2h 48 -
|
||||||
v6.1.0 2016-05-05 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.8.6 5.0.71.35 1.9.0 1.2.8 1.0.2h 48 -
|
v6.1.0 2016-05-05 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.8.6 5.0.71.35 1.9.0 1.2.8 1.0.2h 48 -
|
||||||
v6.0.0 2016-04-26 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.8.6 5.0.71.35 1.9.0 1.2.8 1.0.2g 48 -
|
v6.0.0 2016-04-26 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.8.6 5.0.71.35 1.9.0 1.2.8 1.0.2g 48 -
|
||||||
@@ -32,9 +112,24 @@ v5.2.0 2015-12-09 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-
|
|||||||
v5.1.1 2015-12-03 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.3.12 4.6.85.31 1.7.5 1.2.8 1.0.2e 47 -
|
v5.1.1 2015-12-03 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.3.12 4.6.85.31 1.7.5 1.2.8 1.0.2e 47 -
|
||||||
v5.1.0 2015-11-17 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.3.12 4.6.85.31 1.7.5 1.2.8 1.0.2d 47 -
|
v5.1.0 2015-11-17 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.3.12 4.6.85.31 1.7.5 1.2.8 1.0.2d 47 -
|
||||||
v5.0.0 2015-10-29 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.3.6 4.6.85.28 1.7.5 1.2.8 1.0.2d 47 -
|
v5.0.0 2015-10-29 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 3.3.6 4.6.85.28 1.7.5 1.2.8 1.0.2d 47 -
|
||||||
v4.6.1 2016-10-18 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.9 4.5.103.37 1.9.1 1.2.8 1.0.2j 46 Argon
|
v4.9.1 2018-03-29 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.53 1.9.1 1.2.11 1.0.2o 46 Argon
|
||||||
v4.6.0 2016-09-27 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.9 4.5.103.37 1.9.1 1.2.8 1.0.2j 46 Argon
|
v4.9.0 2018-03-28 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.53 1.9.1 1.2.11 1.0.2o 46 Argon
|
||||||
v4.5.0 2016-08-16 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.9 4.5.103.37 1.9.1 1.2.8 1.0.2h 46 Argon
|
v4.8.7 2017-12-07 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.53 1.9.1 1.2.11 1.0.2n 46 Argon
|
||||||
|
v4.8.6 2017-11-06 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.53 1.9.1 1.2.11 1.0.2m 46 Argon
|
||||||
|
v4.8.5 2017-10-24 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.47 1.9.1 1.2.11 1.0.2k 46 Argon
|
||||||
|
v4.8.4 2017-07-11 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.47 1.9.1 1.2.11 1.0.2k 46 Argon
|
||||||
|
v4.8.3 2017-05-02 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.47 1.9.1 1.2.11 1.0.2k 46 Argon
|
||||||
|
v4.8.2 2017-04-04 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.46 1.9.1 1.2.11 1.0.2k 46 Argon
|
||||||
|
v4.8.1 2017-03-21 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.46 1.9.1 1.2.8 1.0.2k 46 Argon
|
||||||
|
v4.8.0 2017-02-21 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.45 1.9.1 1.2.8 1.0.2k 46 Argon
|
||||||
|
v4.7.3 2017-01-31 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.43 1.9.1 1.2.8 1.0.2k 46 Argon
|
||||||
|
v4.7.2 2017-01-05 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.43 1.9.1 1.2.8 1.0.2j 46 Argon
|
||||||
|
v4.7.1 2017-01-05 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.43 1.9.1 1.2.8 1.0.2j 46 Argon
|
||||||
|
v4.7.0 2016-12-06 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.43 1.9.1 1.2.8 1.0.2j 46 Argon
|
||||||
|
v4.6.2 2016-11-08 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.11 4.5.103.42 1.9.1 1.2.8 1.0.2j 46 Argon
|
||||||
|
v4.6.1 2016-10-18 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.9 4.5.103.37 1.9.1 1.2.8 1.0.2j 46 Argon
|
||||||
|
v4.6.0 2016-09-27 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.9 4.5.103.37 1.9.1 1.2.8 1.0.2j 46 Argon
|
||||||
|
v4.5.0 2016-08-16 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 2.15.9 4.5.103.37 1.9.1 1.2.8 1.0.2h 46 Argon
|
||||||
v4.4.7 2016-06-28 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.8 4.5.103.36 1.8.0 1.2.8 1.0.2h 46 Argon
|
v4.4.7 2016-06-28 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.8 4.5.103.36 1.8.0 1.2.8 1.0.2h 46 Argon
|
||||||
v4.4.6 2016-06-23 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.5 4.5.103.36 1.8.0 1.2.8 1.0.2h 46 Argon
|
v4.4.6 2016-06-23 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.5 4.5.103.36 1.8.0 1.2.8 1.0.2h 46 Argon
|
||||||
v4.4.5 2016-05-24 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.5 4.5.103.35 1.8.0 1.2.8 1.0.2h 46 Argon
|
v4.4.5 2016-05-24 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-ppc64le,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.15.5 4.5.103.35 1.8.0 1.2.8 1.0.2h 46 Argon
|
||||||
@@ -57,6 +152,7 @@ v4.1.2 2015-10-05 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-
|
|||||||
v4.1.1 2015-09-23 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.4 4.5.103.33 1.7.4 1.2.8 1.0.2d 46 -
|
v4.1.1 2015-09-23 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.4 4.5.103.33 1.7.4 1.2.8 1.0.2d 46 -
|
||||||
v4.1.0 2015-09-17 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.3 4.5.103.33 1.7.4 1.2.8 1.0.2d 46 -
|
v4.1.0 2015-09-17 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.3 4.5.103.33 1.7.4 1.2.8 1.0.2d 46 -
|
||||||
v4.0.0 2015-09-08 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.2 4.5.103.30 1.7.3 1.2.8 1.0.2d 46 -
|
v4.0.0 2015-09-08 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.2 4.5.103.30 1.7.3 1.2.8 1.0.2d 46 -
|
||||||
|
v0.12.18 2017-02-22 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.11 3.28.71.20 1.6.1 1.2.8 1.0.1u 14 -
|
||||||
v0.12.17 2016-10-18 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.1 3.28.71.19 1.6.1 1.2.8 1.0.1u 14 -
|
v0.12.17 2016-10-18 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.1 3.28.71.19 1.6.1 1.2.8 1.0.1u 14 -
|
||||||
v0.12.16 2016-09-27 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.1 3.28.71.19 1.6.1 1.2.8 1.0.1u 14 -
|
v0.12.16 2016-09-27 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.1 3.28.71.19 1.6.1 1.2.8 1.0.1u 14 -
|
||||||
v0.12.15 2016-06-23 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.1 3.28.71.19 1.6.1 1.2.8 1.0.1t 14 -
|
v0.12.15 2016-06-23 headers,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,osx-x86-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x86-exe,win-x86-msi 2.15.1 3.28.71.19 1.6.1 1.2.8 1.0.1t 14 -
|
||||||
|
|||||||
@@ -18,5 +18,51 @@
|
|||||||
v4.4.7 [0;37m (LTS: Argon)[0m
|
v4.4.7 [0;37m (LTS: Argon)[0m
|
||||||
v4.5.0 [0;37m (LTS: Argon)[0m
|
v4.5.0 [0;37m (LTS: Argon)[0m
|
||||||
v4.6.0 [0;37m (LTS: Argon)[0m
|
v4.6.0 [0;37m (LTS: Argon)[0m
|
||||||
v4.6.1 [1;32m (Latest LTS: Argon)[0m
|
v4.6.1 [0;37m (LTS: Argon)[0m
|
||||||
v6.9.0 [1;32m (Latest LTS: Boron)[0m
|
v4.6.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.3 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.3 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.4 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.5 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.6 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.7 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.9.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.9.1 [1;32m (Latest LTS: Argon)[0m
|
||||||
|
v6.9.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.4 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.5 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.4 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.5 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.13.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.13.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.14.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.14.1 [1;32m (Latest LTS: Boron)[0m
|
||||||
|
v8.9.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.1 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.2 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.3 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.4 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.10.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.11.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.11.1 [1;32m (Latest LTS: Carbon)[0m
|
||||||
|
|||||||
@@ -234,6 +234,7 @@
|
|||||||
v0.12.15
|
v0.12.15
|
||||||
v0.12.16
|
v0.12.16
|
||||||
v0.12.17
|
v0.12.17
|
||||||
|
v0.12.18
|
||||||
v4.0.0
|
v4.0.0
|
||||||
v4.1.0
|
v4.1.0
|
||||||
v4.1.1
|
v4.1.1
|
||||||
@@ -258,7 +259,22 @@
|
|||||||
v4.4.7 [0;37m (LTS: Argon)[0m
|
v4.4.7 [0;37m (LTS: Argon)[0m
|
||||||
v4.5.0 [0;37m (LTS: Argon)[0m
|
v4.5.0 [0;37m (LTS: Argon)[0m
|
||||||
v4.6.0 [0;37m (LTS: Argon)[0m
|
v4.6.0 [0;37m (LTS: Argon)[0m
|
||||||
v4.6.1 [1;32m (Latest LTS: Argon)[0m
|
v4.6.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.6.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.3 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.3 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.4 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.5 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.6 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.7 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.9.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.9.1 [1;32m (Latest LTS: Argon)[0m
|
||||||
v5.0.0
|
v5.0.0
|
||||||
v5.1.0
|
v5.1.0
|
||||||
v5.1.1
|
v5.1.1
|
||||||
@@ -291,4 +307,84 @@
|
|||||||
v6.7.0
|
v6.7.0
|
||||||
v6.8.0
|
v6.8.0
|
||||||
v6.8.1
|
v6.8.1
|
||||||
v6.9.0 [1;32m (Latest LTS: Boron)[0m
|
v6.9.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.4 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.5 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.4 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.5 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.13.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.13.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.14.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.14.1 [1;32m (Latest LTS: Boron)[0m
|
||||||
|
v7.0.0
|
||||||
|
v7.1.0
|
||||||
|
v7.2.0
|
||||||
|
v7.2.1
|
||||||
|
v7.3.0
|
||||||
|
v7.4.0
|
||||||
|
v7.5.0
|
||||||
|
v7.6.0
|
||||||
|
v7.7.0
|
||||||
|
v7.7.1
|
||||||
|
v7.7.2
|
||||||
|
v7.7.3
|
||||||
|
v7.7.4
|
||||||
|
v7.8.0
|
||||||
|
v7.9.0
|
||||||
|
v7.10.0
|
||||||
|
v7.10.1
|
||||||
|
v8.0.0
|
||||||
|
v8.1.0
|
||||||
|
v8.1.1
|
||||||
|
v8.1.2
|
||||||
|
v8.1.3
|
||||||
|
v8.1.4
|
||||||
|
v8.2.0
|
||||||
|
v8.2.1
|
||||||
|
v8.3.0
|
||||||
|
v8.4.0
|
||||||
|
v8.5.0
|
||||||
|
v8.6.0
|
||||||
|
v8.7.0
|
||||||
|
v8.8.0
|
||||||
|
v8.8.1
|
||||||
|
v8.9.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.1 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.2 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.3 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.4 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.10.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.11.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.11.1 [1;32m (Latest LTS: Carbon)[0m
|
||||||
|
v9.0.0
|
||||||
|
v9.1.0
|
||||||
|
v9.2.0
|
||||||
|
v9.2.1
|
||||||
|
v9.3.0
|
||||||
|
v9.4.0
|
||||||
|
v9.5.0
|
||||||
|
v9.6.0
|
||||||
|
v9.6.1
|
||||||
|
v9.7.0
|
||||||
|
v9.7.1
|
||||||
|
v9.8.0
|
||||||
|
v9.9.0
|
||||||
|
v9.10.0
|
||||||
|
v9.10.1
|
||||||
|
v9.11.0
|
||||||
|
v9.11.1
|
||||||
|
|||||||
@@ -234,6 +234,7 @@
|
|||||||
v0.12.15
|
v0.12.15
|
||||||
v0.12.16
|
v0.12.16
|
||||||
v0.12.17
|
v0.12.17
|
||||||
|
v0.12.18
|
||||||
iojs-v1.0.0
|
iojs-v1.0.0
|
||||||
iojs-v1.0.1
|
iojs-v1.0.1
|
||||||
iojs-v1.0.2
|
iojs-v1.0.2
|
||||||
@@ -299,7 +300,22 @@
|
|||||||
v4.4.7 [0;37m (LTS: Argon)[0m
|
v4.4.7 [0;37m (LTS: Argon)[0m
|
||||||
v4.5.0 [0;37m (LTS: Argon)[0m
|
v4.5.0 [0;37m (LTS: Argon)[0m
|
||||||
v4.6.0 [0;37m (LTS: Argon)[0m
|
v4.6.0 [0;37m (LTS: Argon)[0m
|
||||||
v4.6.1 [1;32m (Latest LTS: Argon)[0m
|
v4.6.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.6.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.7.3 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.1 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.2 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.3 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.4 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.5 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.6 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.8.7 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.9.0 [0;37m (LTS: Argon)[0m
|
||||||
|
v4.9.1 [1;32m (Latest LTS: Argon)[0m
|
||||||
v5.0.0
|
v5.0.0
|
||||||
v5.1.0
|
v5.1.0
|
||||||
v5.1.1
|
v5.1.1
|
||||||
@@ -332,4 +348,84 @@
|
|||||||
v6.7.0
|
v6.7.0
|
||||||
v6.8.0
|
v6.8.0
|
||||||
v6.8.1
|
v6.8.1
|
||||||
v6.9.0 [1;32m (Latest LTS: Boron)[0m
|
v6.9.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.4 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.9.5 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.10.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.4 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.11.5 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.2 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.12.3 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.13.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.13.1 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.14.0 [0;37m (LTS: Boron)[0m
|
||||||
|
v6.14.1 [1;32m (Latest LTS: Boron)[0m
|
||||||
|
v7.0.0
|
||||||
|
v7.1.0
|
||||||
|
v7.2.0
|
||||||
|
v7.2.1
|
||||||
|
v7.3.0
|
||||||
|
v7.4.0
|
||||||
|
v7.5.0
|
||||||
|
v7.6.0
|
||||||
|
v7.7.0
|
||||||
|
v7.7.1
|
||||||
|
v7.7.2
|
||||||
|
v7.7.3
|
||||||
|
v7.7.4
|
||||||
|
v7.8.0
|
||||||
|
v7.9.0
|
||||||
|
v7.10.0
|
||||||
|
v7.10.1
|
||||||
|
v8.0.0
|
||||||
|
v8.1.0
|
||||||
|
v8.1.1
|
||||||
|
v8.1.2
|
||||||
|
v8.1.3
|
||||||
|
v8.1.4
|
||||||
|
v8.2.0
|
||||||
|
v8.2.1
|
||||||
|
v8.3.0
|
||||||
|
v8.4.0
|
||||||
|
v8.5.0
|
||||||
|
v8.6.0
|
||||||
|
v8.7.0
|
||||||
|
v8.8.0
|
||||||
|
v8.8.1
|
||||||
|
v8.9.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.1 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.2 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.3 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.9.4 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.10.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.11.0 [0;37m (LTS: Carbon)[0m
|
||||||
|
v8.11.1 [1;32m (Latest LTS: Carbon)[0m
|
||||||
|
v9.0.0
|
||||||
|
v9.1.0
|
||||||
|
v9.2.0
|
||||||
|
v9.2.1
|
||||||
|
v9.3.0
|
||||||
|
v9.4.0
|
||||||
|
v9.5.0
|
||||||
|
v9.6.0
|
||||||
|
v9.6.1
|
||||||
|
v9.7.0
|
||||||
|
v9.7.1
|
||||||
|
v9.8.0
|
||||||
|
v9.9.0
|
||||||
|
v9.10.0
|
||||||
|
v9.10.1
|
||||||
|
v9.11.0
|
||||||
|
v9.11.1
|
||||||
|
|||||||
@@ -19,3 +19,18 @@ v4.4.7 Argon
|
|||||||
v4.5.0 Argon
|
v4.5.0 Argon
|
||||||
v4.6.0 Argon
|
v4.6.0 Argon
|
||||||
v4.6.1 Argon
|
v4.6.1 Argon
|
||||||
|
v4.6.2 Argon
|
||||||
|
v4.7.0 Argon
|
||||||
|
v4.7.1 Argon
|
||||||
|
v4.7.2 Argon
|
||||||
|
v4.7.3 Argon
|
||||||
|
v4.8.0 Argon
|
||||||
|
v4.8.1 Argon
|
||||||
|
v4.8.2 Argon
|
||||||
|
v4.8.3 Argon
|
||||||
|
v4.8.4 Argon
|
||||||
|
v4.8.5 Argon
|
||||||
|
v4.8.6 Argon
|
||||||
|
v4.8.7 Argon
|
||||||
|
v4.9.0 Argon
|
||||||
|
v4.9.1 Argon
|
||||||
|
|||||||
@@ -19,4 +19,50 @@ v4.4.7 Argon
|
|||||||
v4.5.0 Argon
|
v4.5.0 Argon
|
||||||
v4.6.0 Argon
|
v4.6.0 Argon
|
||||||
v4.6.1 Argon
|
v4.6.1 Argon
|
||||||
|
v4.6.2 Argon
|
||||||
|
v4.7.0 Argon
|
||||||
|
v4.7.1 Argon
|
||||||
|
v4.7.2 Argon
|
||||||
|
v4.7.3 Argon
|
||||||
|
v4.8.0 Argon
|
||||||
|
v4.8.1 Argon
|
||||||
|
v4.8.2 Argon
|
||||||
|
v4.8.3 Argon
|
||||||
|
v4.8.4 Argon
|
||||||
|
v4.8.5 Argon
|
||||||
|
v4.8.6 Argon
|
||||||
|
v4.8.7 Argon
|
||||||
|
v4.9.0 Argon
|
||||||
|
v4.9.1 Argon
|
||||||
v6.9.0 Boron
|
v6.9.0 Boron
|
||||||
|
v6.9.1 Boron
|
||||||
|
v6.9.2 Boron
|
||||||
|
v6.9.3 Boron
|
||||||
|
v6.9.4 Boron
|
||||||
|
v6.9.5 Boron
|
||||||
|
v6.10.0 Boron
|
||||||
|
v6.10.1 Boron
|
||||||
|
v6.10.2 Boron
|
||||||
|
v6.10.3 Boron
|
||||||
|
v6.11.0 Boron
|
||||||
|
v6.11.1 Boron
|
||||||
|
v6.11.2 Boron
|
||||||
|
v6.11.3 Boron
|
||||||
|
v6.11.4 Boron
|
||||||
|
v6.11.5 Boron
|
||||||
|
v6.12.0 Boron
|
||||||
|
v6.12.1 Boron
|
||||||
|
v6.12.2 Boron
|
||||||
|
v6.12.3 Boron
|
||||||
|
v6.13.0 Boron
|
||||||
|
v6.13.1 Boron
|
||||||
|
v6.14.0 Boron
|
||||||
|
v6.14.1 Boron
|
||||||
|
v8.9.0 Carbon
|
||||||
|
v8.9.1 Carbon
|
||||||
|
v8.9.2 Carbon
|
||||||
|
v8.9.3 Carbon
|
||||||
|
v8.9.4 Carbon
|
||||||
|
v8.10.0 Carbon
|
||||||
|
v8.11.0 Carbon
|
||||||
|
v8.11.1 Carbon
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
v6.9.0 Boron
|
v9.11.1
|
||||||
|
|||||||
@@ -234,6 +234,7 @@ v0.12.14
|
|||||||
v0.12.15
|
v0.12.15
|
||||||
v0.12.16
|
v0.12.16
|
||||||
v0.12.17
|
v0.12.17
|
||||||
|
v0.12.18
|
||||||
v4.0.0
|
v4.0.0
|
||||||
v4.1.0
|
v4.1.0
|
||||||
v4.1.1
|
v4.1.1
|
||||||
@@ -259,6 +260,21 @@ v4.4.7 Argon
|
|||||||
v4.5.0 Argon
|
v4.5.0 Argon
|
||||||
v4.6.0 Argon
|
v4.6.0 Argon
|
||||||
v4.6.1 Argon
|
v4.6.1 Argon
|
||||||
|
v4.6.2 Argon
|
||||||
|
v4.7.0 Argon
|
||||||
|
v4.7.1 Argon
|
||||||
|
v4.7.2 Argon
|
||||||
|
v4.7.3 Argon
|
||||||
|
v4.8.0 Argon
|
||||||
|
v4.8.1 Argon
|
||||||
|
v4.8.2 Argon
|
||||||
|
v4.8.3 Argon
|
||||||
|
v4.8.4 Argon
|
||||||
|
v4.8.5 Argon
|
||||||
|
v4.8.6 Argon
|
||||||
|
v4.8.7 Argon
|
||||||
|
v4.9.0 Argon
|
||||||
|
v4.9.1 Argon
|
||||||
v5.0.0
|
v5.0.0
|
||||||
v5.1.0
|
v5.1.0
|
||||||
v5.1.1
|
v5.1.1
|
||||||
@@ -292,3 +308,83 @@ v6.7.0
|
|||||||
v6.8.0
|
v6.8.0
|
||||||
v6.8.1
|
v6.8.1
|
||||||
v6.9.0 Boron
|
v6.9.0 Boron
|
||||||
|
v6.9.1 Boron
|
||||||
|
v6.9.2 Boron
|
||||||
|
v6.9.3 Boron
|
||||||
|
v6.9.4 Boron
|
||||||
|
v6.9.5 Boron
|
||||||
|
v6.10.0 Boron
|
||||||
|
v6.10.1 Boron
|
||||||
|
v6.10.2 Boron
|
||||||
|
v6.10.3 Boron
|
||||||
|
v6.11.0 Boron
|
||||||
|
v6.11.1 Boron
|
||||||
|
v6.11.2 Boron
|
||||||
|
v6.11.3 Boron
|
||||||
|
v6.11.4 Boron
|
||||||
|
v6.11.5 Boron
|
||||||
|
v6.12.0 Boron
|
||||||
|
v6.12.1 Boron
|
||||||
|
v6.12.2 Boron
|
||||||
|
v6.12.3 Boron
|
||||||
|
v6.13.0 Boron
|
||||||
|
v6.13.1 Boron
|
||||||
|
v6.14.0 Boron
|
||||||
|
v6.14.1 Boron
|
||||||
|
v7.0.0
|
||||||
|
v7.1.0
|
||||||
|
v7.2.0
|
||||||
|
v7.2.1
|
||||||
|
v7.3.0
|
||||||
|
v7.4.0
|
||||||
|
v7.5.0
|
||||||
|
v7.6.0
|
||||||
|
v7.7.0
|
||||||
|
v7.7.1
|
||||||
|
v7.7.2
|
||||||
|
v7.7.3
|
||||||
|
v7.7.4
|
||||||
|
v7.8.0
|
||||||
|
v7.9.0
|
||||||
|
v7.10.0
|
||||||
|
v7.10.1
|
||||||
|
v8.0.0
|
||||||
|
v8.1.0
|
||||||
|
v8.1.1
|
||||||
|
v8.1.2
|
||||||
|
v8.1.3
|
||||||
|
v8.1.4
|
||||||
|
v8.2.0
|
||||||
|
v8.2.1
|
||||||
|
v8.3.0
|
||||||
|
v8.4.0
|
||||||
|
v8.5.0
|
||||||
|
v8.6.0
|
||||||
|
v8.7.0
|
||||||
|
v8.8.0
|
||||||
|
v8.8.1
|
||||||
|
v8.9.0 Carbon
|
||||||
|
v8.9.1 Carbon
|
||||||
|
v8.9.2 Carbon
|
||||||
|
v8.9.3 Carbon
|
||||||
|
v8.9.4 Carbon
|
||||||
|
v8.10.0 Carbon
|
||||||
|
v8.11.0 Carbon
|
||||||
|
v8.11.1 Carbon
|
||||||
|
v9.0.0
|
||||||
|
v9.1.0
|
||||||
|
v9.2.0
|
||||||
|
v9.2.1
|
||||||
|
v9.3.0
|
||||||
|
v9.4.0
|
||||||
|
v9.5.0
|
||||||
|
v9.6.0
|
||||||
|
v9.6.1
|
||||||
|
v9.7.0
|
||||||
|
v9.7.1
|
||||||
|
v9.8.0
|
||||||
|
v9.9.0
|
||||||
|
v9.10.0
|
||||||
|
v9.10.1
|
||||||
|
v9.11.0
|
||||||
|
v9.11.1
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
lts/*|lts/boron
|
lts/*|lts/carbon
|
||||||
lts/boron|v6.9.0
|
lts/carbon|v8.11.1
|
||||||
lts/argon|v4.6.1
|
lts/boron|v6.14.1
|
||||||
|
lts/argon|v4.9.1
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
6.9
|
9.11
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ assert_not_ok node_version_has_solaris_binary "v3.3.1"
|
|||||||
# Valid io.js version numbers that have a Solaris binary fail
|
# Valid io.js version numbers that have a Solaris binary fail
|
||||||
assert_not_ok node_version_has_solaris_binary "iojs-v3.3.1"
|
assert_not_ok node_version_has_solaris_binary "iojs-v3.3.1"
|
||||||
|
|
||||||
# Invvalid io.js version numbers fail
|
# Invalid io.js version numbers fail
|
||||||
assert_not_ok node_version_has_solaris_binary "iojs-v0.12.7"
|
assert_not_ok node_version_has_solaris_binary "iojs-v0.12.7"
|
||||||
|
|
||||||
# Valid node version numbers that don't have a Solaris binary fail
|
# Valid node version numbers that don't have a Solaris binary fail
|
||||||
|
|||||||
@@ -30,4 +30,3 @@ OUTPUT="$(nvm_alias test)"
|
|||||||
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'nvm_alias test' produced wrong output; got $OUTPUT"
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'nvm_alias test' produced wrong output; got $OUTPUT"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
@@ -4,5 +4,4 @@ die () { echo "$@" ; exit 1; }
|
|||||||
|
|
||||||
\. ../../../nvm.sh
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not requrn correct location"
|
[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not return correct location"
|
||||||
|
|
||||||
|
|||||||
43
test/fast/Unit tests/nvm_change_path
Executable file
43
test/fast/Unit tests/nvm_change_path
Executable file
@@ -0,0 +1,43 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
TEST_PATH=/usr/bin:/usr/local/bin
|
||||||
|
|
||||||
|
# New version dir
|
||||||
|
NEW_PATH=`nvm_change_path "$TEST_PATH" "/bin" "$NVM_DIR/versions/node/v7.1.0"`
|
||||||
|
|
||||||
|
[ "$NEW_PATH" = "$NVM_DIR/versions/node/v7.1.0/bin:/usr/bin:/usr/local/bin" ] || die "Not correctly changed: $NEW_PATH "
|
||||||
|
|
||||||
|
# Old version dir
|
||||||
|
NEW_PATH=`nvm_change_path "$TEST_PATH" "/bin" "$NVM_DIR/v0.1.2"`
|
||||||
|
|
||||||
|
[ "$NEW_PATH" = "$NVM_DIR/v0.1.2/bin:/usr/bin:/usr/local/bin" ] || die "Not correctly changed: $NEW_PATH "
|
||||||
|
|
||||||
|
|
||||||
|
TEST_PATH=/home/user/code/test/node_modules/.bin:$NVM_DIR/versions/node/v4.5.0/bin:/usr/bin:/usr/local/bin
|
||||||
|
|
||||||
|
# New version dir
|
||||||
|
NEW_PATH=`nvm_change_path "$TEST_PATH" "/bin" "$NVM_DIR/versions/node/v7.1.0"`
|
||||||
|
|
||||||
|
[ "$NEW_PATH" = "/home/user/code/test/node_modules/.bin:$NVM_DIR/versions/node/v7.1.0/bin:/usr/bin:/usr/local/bin" ] || die "Not correctly changed: $NEW_PATH "
|
||||||
|
|
||||||
|
# Old version dir
|
||||||
|
NEW_PATH=`nvm_change_path "$TEST_PATH" "/bin" "$NVM_DIR/v0.1.2"`
|
||||||
|
|
||||||
|
[ "$NEW_PATH" = "/home/user/code/test/node_modules/.bin:$NVM_DIR/v0.1.2/bin:/usr/bin:/usr/local/bin" ] || die "Not correctly changed: $NEW_PATH "
|
||||||
|
|
||||||
|
|
||||||
|
EMPTY_PATH=
|
||||||
|
|
||||||
|
# New version dir
|
||||||
|
NEW_PATH=`nvm_change_path "$EMPTY_PATH" "/bin" "$NVM_DIR/versions/node/v7.1.0"`
|
||||||
|
|
||||||
|
[ "$NEW_PATH" = "$NVM_DIR/versions/node/v7.1.0/bin" ] || die "Not correctly prepended: $NEW_PATH "
|
||||||
|
|
||||||
|
# Old version dir
|
||||||
|
NEW_PATH=`nvm_change_path "$EMPTY_PATH" "/bin" "$NVM_DIR/v0.1.2"`
|
||||||
|
|
||||||
|
[ "$NEW_PATH" = "$NVM_DIR/v0.1.2/bin" ] || die "Not correctly prepended: $NEW_PATH "
|
||||||
40
test/fast/Unit tests/nvm_command_info
Executable file
40
test/fast/Unit tests/nvm_command_info
Executable file
@@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
unalias wget
|
||||||
|
unset -f wget
|
||||||
|
unset WGET_EXPECTED_INFO WGET_COMMAND_INFO
|
||||||
|
}
|
||||||
|
|
||||||
|
die() { echo "$@" ; cleanup ; exit 1; }
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
|
||||||
|
# 1. test wget command
|
||||||
|
WGET_COMMAND_INFO="$(nvm_command_info wget)"
|
||||||
|
WGET_EXPECTED_INFO="$(which wget)"
|
||||||
|
[ "${WGET_COMMAND_INFO}" = "${WGET_EXPECTED_INFO}" ] || die "wget command info wrong(stage 1), expected: '${WGET_EXPECTED_INFO}', got '${WGET_COMMAND_INFO}'"
|
||||||
|
|
||||||
|
cleanup
|
||||||
|
|
||||||
|
# 2. test aliased wget
|
||||||
|
shopt -s expand_aliases
|
||||||
|
# enable expand_aliases to make alias working in interactive shell
|
||||||
|
alias wget="wget -V"
|
||||||
|
WGET_COMMAND_INFO="$(nvm_command_info wget)"
|
||||||
|
WGET_EXPECTED_INFO="$(which wget) (wget -V)"
|
||||||
|
[ "${WGET_COMMAND_INFO}" = "${WGET_EXPECTED_INFO}" ] || die "wget command info wrong(stage 2), expected: '${WGET_EXPECTED_INFO}', got '${WGET_COMMAND_INFO}'"
|
||||||
|
|
||||||
|
cleanup
|
||||||
|
|
||||||
|
# 3. test wget function
|
||||||
|
wget() {
|
||||||
|
echo "wget function"
|
||||||
|
}
|
||||||
|
|
||||||
|
WGET_COMMAND_INFO="$(nvm_command_info wget)"
|
||||||
|
WGET_EXPECTED_INFO="$(type wget)"
|
||||||
|
[ "${WGET_COMMAND_INFO}" = "${WGET_EXPECTED_INFO}" ] || die "wget command info wrong(stage 3), expected: '${WGET_EXPECTED_INFO}', got '${WGET_COMMAND_INFO}'"
|
||||||
|
|
||||||
|
cleanup
|
||||||
39
test/fast/Unit tests/nvm_curl_libz_support
Executable file
39
test/fast/Unit tests/nvm_curl_libz_support
Executable file
@@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
unset -f curl
|
||||||
|
}
|
||||||
|
|
||||||
|
die() { cleanup; echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
curl() {
|
||||||
|
# curl with libz feature
|
||||||
|
if [ $# -ne 1 ] || [ "$1" != "-V" ]; then
|
||||||
|
die "This fake curl only takes one parameter -V"
|
||||||
|
fi
|
||||||
|
echo "
|
||||||
|
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
|
||||||
|
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
|
||||||
|
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets"
|
||||||
|
}
|
||||||
|
|
||||||
|
nvm_curl_libz_support || die "nvm_curl_libz_support should return 0"
|
||||||
|
|
||||||
|
unset -f curl
|
||||||
|
|
||||||
|
curl() {
|
||||||
|
# curl without libz feature
|
||||||
|
if [ "$#" -ne 1 ] || [ "$1" != "-V" ]; then
|
||||||
|
die "This fake curl only takes one parameter -V"
|
||||||
|
fi
|
||||||
|
echo "
|
||||||
|
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.32
|
||||||
|
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
|
||||||
|
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL TLS-SRP UnixSockets"
|
||||||
|
}
|
||||||
|
|
||||||
|
! nvm_curl_libz_support || die "nvm_curl_libz_support should return 1"
|
||||||
|
|
||||||
|
unset -f curl
|
||||||
38
test/fast/Unit tests/nvm_curl_use_compression
Executable file
38
test/fast/Unit tests/nvm_curl_use_compression
Executable file
@@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup () {
|
||||||
|
unset -f die
|
||||||
|
}
|
||||||
|
|
||||||
|
die () { echo -e "$@" ; cleanup ; exit 1; }
|
||||||
|
|
||||||
|
NVM_ENV=testing \. ../../../nvm.sh
|
||||||
|
|
||||||
|
curl() {
|
||||||
|
if [ "$1" = "-V" ]; then
|
||||||
|
echo "${VERSION_MESSAGE}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
CURL_VERSION_ON_ARCHLINUX_WITH_LIBZ="curl 7.54.0 (x86_64-pc-linux-gnu) libcurl/7.54.0 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.22.0
|
||||||
|
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
|
||||||
|
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL"
|
||||||
|
|
||||||
|
CURL_VERSION_ON_ARCHLINUX_WITHOUT_LIBZ="curl 7.54.0 (x86_64-pc-linux-gnu) libcurl/7.54.0 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.22.0
|
||||||
|
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
|
||||||
|
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL"
|
||||||
|
|
||||||
|
CURL_VERSION_ON_CENTOS6_WITH_LIBZ="curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
|
||||||
|
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
|
||||||
|
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz"
|
||||||
|
|
||||||
|
VERSION_MESSAGE="${CURL_VERSION_ON_ARCHLINUX_WITH_LIBZ}"
|
||||||
|
nvm_curl_use_compression || die "nvm_curl_use_compression should return 0"
|
||||||
|
|
||||||
|
VERSION_MESSAGE="${CURL_VERSION_ON_ARCHLINUX_WITHOUT_LIBZ}"
|
||||||
|
! nvm_curl_use_compression || die "nvm_curl_use_compression should return 1 without libz support"
|
||||||
|
|
||||||
|
VERSION_MESSAGE="${CURL_VERSION_ON_CENTOS6_WITH_LIBZ}"
|
||||||
|
! nvm_curl_use_compression || die "nvm_curl_use_compression should return 1 when curl < 7.21.0"
|
||||||
|
|
||||||
|
cleanup
|
||||||
32
test/fast/Unit tests/nvm_curl_version
Executable file
32
test/fast/Unit tests/nvm_curl_version
Executable file
@@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup () {
|
||||||
|
unset -f die
|
||||||
|
unset -f curl
|
||||||
|
}
|
||||||
|
|
||||||
|
die () { echo -e "$@" ; cleanup ; exit 1; }
|
||||||
|
|
||||||
|
NVM_ENV=testing \. ../../../nvm.sh
|
||||||
|
|
||||||
|
curl() {
|
||||||
|
if [ "$1" = "-V" ]; then
|
||||||
|
echo "${VERSION_MESSAGE}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
assert_version_is() {
|
||||||
|
if [ "${1}" != "${2}" ]; then
|
||||||
|
die "Expected ${2}, got ${1}, origin version message:\n${VERSION_MESSAGE}"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
CURL_VERSION_MESSAGE="curl 7.54.0 (x86_64-pc-linux-gnu) libcurl/7.54.0 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.22.0
|
||||||
|
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
|
||||||
|
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL"
|
||||||
|
|
||||||
|
VERSION_MESSAGE="${CURL_VERSION_MESSAGE}"
|
||||||
|
assert_version_is "$(nvm_curl_version)" "7.54.0"
|
||||||
|
|
||||||
|
cleanup
|
||||||
115
test/fast/Unit tests/nvm_default_packages
Executable file
115
test/fast/Unit tests/nvm_default_packages
Executable file
@@ -0,0 +1,115 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
FILE="$NVM_DIR/default-packages"
|
||||||
|
|
||||||
|
die () { echo "$@" ; cleanup ; exit 1; }
|
||||||
|
setup () {
|
||||||
|
if [ -f $FILE ]; then
|
||||||
|
ORIG_DEFAULT_PACKAGES=$(cat $FILE)
|
||||||
|
mkdir ./tmp/ ||:
|
||||||
|
mv $FILE ./tmp/default-packages ||:
|
||||||
|
fi
|
||||||
|
touch $FILE
|
||||||
|
}
|
||||||
|
cleanup () {
|
||||||
|
rm -rf "$(nvm_version_path v6.10.1)" $FILE
|
||||||
|
if [ "$ORIG_DEFAULT_PACKAGES" != "" ]; then
|
||||||
|
rm -rf ./tmp/
|
||||||
|
echo "$ORIG_DEFAULT_PACKAGES" > $FILE
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
cat > $FILE << EOF
|
||||||
|
rimraf
|
||||||
|
object-inspect@1.0.2
|
||||||
|
|
||||||
|
# commented-package
|
||||||
|
|
||||||
|
stevemao/left-pad
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nvm install v6.10.1 2>&1
|
||||||
|
EXIT_CODE=$?
|
||||||
|
[ "_$EXIT_CODE" = "_0" ] || die "expected 'nvm install v6.10.1' to exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
|
nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'rimraf'
|
||||||
|
if [ -z "$?" ]; then
|
||||||
|
die "expected 'nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'rimraf'' to exit with 0, got $?"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cleanup
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
cat > $FILE << EOF
|
||||||
|
rimraf
|
||||||
|
object-inspect@1.0.2
|
||||||
|
|
||||||
|
# commented-package
|
||||||
|
|
||||||
|
stevemao/left-pad
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nvm install v6.10.1 --skip-default-packages 2>&1
|
||||||
|
EXIT_CODE=$?
|
||||||
|
[ "_$EXIT_CODE" = "_0" ] || die "expected 'nvm install v6.10.1' to exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
|
if nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'rimraf'; then
|
||||||
|
die "expected 'nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'rimraf'' to be empty"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cleanup
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
cat > $FILE << EOF
|
||||||
|
not~a~package~name
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nvm install v6.10.1
|
||||||
|
EXIT_CODE=$?
|
||||||
|
[ "_$EXIT_CODE" = "_0" ] || die "expected 'nvm install v6.10.1' to exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
|
if nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'not~a~package~name'; then
|
||||||
|
die "expected 'nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'not~a~package~name'' to exit with 1, got $?"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cleanup
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
cat > $FILE << EOF
|
||||||
|
object-inspect @ 1.0.2
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nvm install v6.10.1 2>&1
|
||||||
|
EXIT_CODE=$?
|
||||||
|
[ "_$EXIT_CODE" = "_1" ] || die "expected 'nvm install v6.10.1' to exit with 1, got $EXIT_CODE"
|
||||||
|
|
||||||
|
if nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'object-inspect'; then
|
||||||
|
die "expected 'nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'object-inspect'' to exit with 1, got $?"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cleanup
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
rm -rf $FILE
|
||||||
|
|
||||||
|
nvm install v6.10.1 2>&1
|
||||||
|
EXIT_CODE=$?
|
||||||
|
[ "_$EXIT_CODE" = "_0" ] || die "expected 'nvm install v6.10.1' to exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
|
if nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'object-inspect'; then
|
||||||
|
die "expected 'nvm exec v6.10.1 npm ls -g --depth=0 | grep -q 'object-inspect'' to exit with 1, got $?"
|
||||||
|
fi
|
||||||
|
|
||||||
|
touch $FILE
|
||||||
|
|
||||||
|
cleanup
|
||||||
@@ -46,17 +46,24 @@ OUTPUT="$(nvm_die_on_prefix 0 foo 2>&1)"
|
|||||||
OUTPUT="$(PREFIX=bar nvm_die_on_prefix 0 foo 2>&1)"
|
OUTPUT="$(PREFIX=bar nvm_die_on_prefix 0 foo 2>&1)"
|
||||||
EXPECTED_OUTPUT='nvm is not compatible with the "PREFIX" environment variable: currently set to "bar"
|
EXPECTED_OUTPUT='nvm is not compatible with the "PREFIX" environment variable: currently set to "bar"
|
||||||
Run `unset PREFIX` to unset it.'
|
Run `unset PREFIX` to unset it.'
|
||||||
EXIT_CODE="$(PREFIX=bar nvm_die_on_prefix 0 foo >/dev/null 2>&1; echo $?)"
|
EXIT_CODE="$(export PREFIX=bar ; nvm_die_on_prefix 0 foo >/dev/null 2>&1; echo $?)"
|
||||||
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'PREFIX=bar nvm_die_on_prefix 0 foo' did not error with '$EXPECTED_OUTPUT'; got '$OUTPUT'"
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'PREFIX=bar nvm_die_on_prefix 0 foo' did not error with '$EXPECTED_OUTPUT'; got '$OUTPUT'"
|
||||||
[ "_$EXIT_CODE" = "_3" ] || die "'PREFIX=bar nvm_die_on_prefix 0 foo' did not exit with 3; got '$EXIT_CODE'"
|
[ "_$EXIT_CODE" = "_3" ] || die "'PREFIX=bar nvm_die_on_prefix 0 foo' did not exit with 3; got '$EXIT_CODE'"
|
||||||
|
|
||||||
OUTPUT="$(NPM_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo 2>&1)"
|
OUTPUT="$(export NPM_CONFIG_PREFIX=bar ; nvm_die_on_prefix 0 foo 2>&1)"
|
||||||
EXPECTED_OUTPUT='nvm is not compatible with the "NPM_CONFIG_PREFIX" environment variable: currently set to "bar"
|
EXPECTED_OUTPUT='nvm is not compatible with the "NPM_CONFIG_PREFIX" environment variable: currently set to "bar"
|
||||||
Run `unset NPM_CONFIG_PREFIX` to unset it.'
|
Run `unset NPM_CONFIG_PREFIX` to unset it.'
|
||||||
EXIT_CODE="$(NPM_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo >/dev/null 2>&1; echo $?)"
|
EXIT_CODE="$(export NPM_CONFIG_PREFIX=bar ; nvm_die_on_prefix 0 foo >/dev/null 2>&1; echo $?)"
|
||||||
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'NPM_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo' did not error with '$EXPECTED_OUTPUT'; got '$OUTPUT'"
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'NPM_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo' did not error with '$EXPECTED_OUTPUT'; got '$OUTPUT'"
|
||||||
[ "_$EXIT_CODE" = "_4" ] || die "'NPM_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo' did not exit with 4; got '$EXIT_CODE'"
|
[ "_$EXIT_CODE" = "_4" ] || die "'NPM_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo' did not exit with 4; got '$EXIT_CODE'"
|
||||||
|
|
||||||
|
OUTPUT="$(export npm_CONFIG_PREFIX=bar ; nvm_die_on_prefix 0 foo 2>&1)"
|
||||||
|
EXPECTED_OUTPUT='nvm is not compatible with the "npm_CONFIG_PREFIX" environment variable: currently set to "bar"
|
||||||
|
Run `unset npm_CONFIG_PREFIX` to unset it.'
|
||||||
|
EXIT_CODE="$(export npm_CONFIG_PREFIX=bar ; nvm_die_on_prefix 0 foo >/dev/null 2>&1; echo $?)"
|
||||||
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'npm_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo' did not error with '$EXPECTED_OUTPUT'; got '$OUTPUT'"
|
||||||
|
[ "_$EXIT_CODE" = "_4" ] || die "'npm_CONFIG_PREFIX=bar nvm_die_on_prefix 0 foo' did not exit with 4; got '$EXIT_CODE'"
|
||||||
|
|
||||||
npm() {
|
npm() {
|
||||||
local args
|
local args
|
||||||
args="$@"
|
args="$@"
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
die () { echo "$@" ; cleanup ; exit 1; }
|
die () { echo "$@" ; cleanup ; exit 1; }
|
||||||
cleanup () {
|
cleanup () {
|
||||||
rm -rf "$(nvm_version_path v0.1.2)"
|
rm -rf "$(nvm_version_path v0.1.2)"
|
||||||
|
unset -f nvm_has_system_node nvm_has_system_iojs
|
||||||
}
|
}
|
||||||
|
|
||||||
\. ../../../nvm.sh
|
\. ../../../nvm.sh
|
||||||
@@ -31,4 +32,31 @@ You need to run "nvm install iojs" to install it before using it.'
|
|||||||
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "expected 'nvm_ensure_version_installed iojs' to give $EXPECTED_OUTPUT, got $OUTPUT"
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "expected 'nvm_ensure_version_installed iojs' to give $EXPECTED_OUTPUT, got $OUTPUT"
|
||||||
[ "_$EXIT_CODE" = "_1" ] || die "expected 'nvm_ensure_version_installed iojs' to exit with 1, got $EXIT_CODE"
|
[ "_$EXIT_CODE" = "_1" ] || die "expected 'nvm_ensure_version_installed iojs' to exit with 1, got $EXIT_CODE"
|
||||||
|
|
||||||
|
nvm_has_system_node() { return 1; }
|
||||||
|
nvm_has_system_iojs() { return 1; }
|
||||||
|
|
||||||
|
OUTPUT="$(nvm_ensure_version_installed system 2>&1)"
|
||||||
|
EXIT_CODE=$?
|
||||||
|
EXPECTED_OUTPUT='N/A: no system version of node/io.js is installed.'
|
||||||
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "expected 'nvm_ensure_version_installed system' with neither installed to give $EXPECTED_OUTPUT, got $OUTPUT"
|
||||||
|
[ "_$EXIT_CODE" = "_1" ] || die "expected 'nvm_ensure_version_installed system' with neither installed to exit with 1, got $EXIT_CODE"
|
||||||
|
|
||||||
|
nvm_has_system_node() { return 0; }
|
||||||
|
nvm_has_system_iojs() { return 1; }
|
||||||
|
|
||||||
|
OUTPUT="$(nvm_ensure_version_installed system 2>&1)"
|
||||||
|
EXIT_CODE=$?
|
||||||
|
EXPECTED_OUTPUT=''
|
||||||
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "expected 'nvm_ensure_version_installed system' with node installed to give $EXPECTED_OUTPUT, got $OUTPUT"
|
||||||
|
[ "_$EXIT_CODE" = "_0" ] || die "expected 'nvm_ensure_version_installed system' with node installed to exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
|
nvm_has_system_node() { return 1; }
|
||||||
|
nvm_has_system_iojs() { return 0; }
|
||||||
|
|
||||||
|
OUTPUT="$(nvm_ensure_version_installed system 2>&1)"
|
||||||
|
EXIT_CODE=$?
|
||||||
|
EXPECTED_OUTPUT=''
|
||||||
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "expected 'nvm_ensure_version_installed system' with iojs installed to give $EXPECTED_OUTPUT, got $OUTPUT"
|
||||||
|
[ "_$EXIT_CODE" = "_0" ] || die "expected 'nvm_ensure_version_installed system' with iojs installed to exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|||||||
@@ -23,4 +23,3 @@ TEST_DIR="$PWD"
|
|||||||
[ "~$(PWD=$TEST_DIR/tmp_nvm_find_up/a/b/c/d nvm_find_up 'test')" = "~$TEST_DIR/tmp_nvm_find_up/a/b/c" ] || die "failed to find 1 level up from current dir"
|
[ "~$(PWD=$TEST_DIR/tmp_nvm_find_up/a/b/c/d nvm_find_up 'test')" = "~$TEST_DIR/tmp_nvm_find_up/a/b/c" ] || die "failed to find 1 level up from current dir"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
@@ -18,4 +18,3 @@ INPUT="1.2.3.4.5"
|
|||||||
OUTPUT="$(nvm_format_version "$INPUT")"
|
OUTPUT="$(nvm_format_version "$INPUT")"
|
||||||
EXPECTED_OUTPUT="v1.2.3"
|
EXPECTED_OUTPUT="v1.2.3"
|
||||||
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "nvm_format_version $INPUT did not return $EXPECTED_OUTPUT; got $OUTPUT"
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "nvm_format_version $INPUT did not return $EXPECTED_OUTPUT; got $OUTPUT"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ set -ex
|
|||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
set +e # TODO: fix
|
||||||
\. ../../../nvm.sh
|
\. ../../../nvm.sh
|
||||||
|
set -e
|
||||||
|
|
||||||
ALG="$(nvm_get_checksum_alg)"
|
ALG="$(nvm_get_checksum_alg)"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,12 @@ set -ex
|
|||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
unset NVM_NODEJS_ORG_MIRROR
|
||||||
|
unset NVM_IOJS_ORG_MIRROR
|
||||||
|
|
||||||
|
set +e # TODO: fix
|
||||||
\. ../../../nvm.sh
|
\. ../../../nvm.sh
|
||||||
|
set -e
|
||||||
|
|
||||||
! nvm_get_mirror || die 'unknown release type did not error'
|
! nvm_get_mirror || die 'unknown release type did not error'
|
||||||
! nvm_get_mirror node || die 'unknown release type did not error'
|
! nvm_get_mirror node || die 'unknown release type did not error'
|
||||||
@@ -12,5 +17,16 @@ die () { echo "$@" ; exit 1; }
|
|||||||
! nvm_get_mirror node foo || die 'unknown release type did not error'
|
! nvm_get_mirror node foo || die 'unknown release type did not error'
|
||||||
! nvm_get_mirror iojs foo || die 'unknown release type did not error'
|
! nvm_get_mirror iojs foo || die 'unknown release type did not error'
|
||||||
|
|
||||||
[ "$(nvm_get_mirror node std)" = "${NVM_NODEJS_ORG_MIRROR}" ] || die 'node std did not yield NVM_NODEJS_ORG_MIRROR'
|
[ -z "$NVM_NODEJS_ORG_MIRROR" ] || die "MIRROR environment variables should not be exported"
|
||||||
[ "$(nvm_get_mirror iojs std)" = "${NVM_IOJS_ORG_MIRROR}" ] || die 'node std did not yield NVM_NODEJS_ORG_MIRROR'
|
[ -z "$NVM_IOJS_ORG_MIRROR" ] || die "MIRROR environment variables should not be exported"
|
||||||
|
|
||||||
|
[ "$(nvm_get_mirror node std)" = "https://nodejs.org/dist" ] || die "incorrect default node-std mirror"
|
||||||
|
[ "$(nvm_get_mirror iojs std)" = "https://iojs.org/dist" ] || die "incorrect default iojs-std mirror"
|
||||||
|
|
||||||
|
NVM_NODEJS_ORG_MIRROR="test://domain"
|
||||||
|
[ "$(nvm_get_mirror node std)" = "test://domain" ] || die "node-std mirror should respect NVM_NODEJS_ORG_MIRROR"
|
||||||
|
unset NVM_NODEJS_ORG_MIRROR
|
||||||
|
|
||||||
|
NVM_IOJS_ORG_MIRROR="test://domain"
|
||||||
|
[ "$(nvm_get_mirror iojs std)" = "test://domain" ] || die "iojs-std mirror should respect NVM_IOJS_ORG_MIRROR"
|
||||||
|
unset NVM_IOJS_ORG_MIRROR
|
||||||
|
|||||||
@@ -9,4 +9,3 @@ nvm_has cat && type cat > /dev/null || die 'nvm_has locates "cat" properly'
|
|||||||
[ "~$(nvm_has foobarbaz 2>&1)" = "~" ] || die "nvm_has does not suppress error output"
|
[ "~$(nvm_has foobarbaz 2>&1)" = "~" ] || die "nvm_has does not suppress error output"
|
||||||
|
|
||||||
! nvm_has foobarbaz && ! type foobarbaz >/dev/null 2>&1 || die "nvm_has does not return a nonzero exit code when not found"
|
! nvm_has foobarbaz && ! type foobarbaz >/dev/null 2>&1 || die "nvm_has does not return a nonzero exit code when not found"
|
||||||
|
|
||||||
|
|||||||
24
test/fast/Unit tests/nvm_has_non_aliased
Executable file
24
test/fast/Unit tests/nvm_has_non_aliased
Executable file
@@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup () { unalias foo; unalias grep; }
|
||||||
|
die () { echo "$@" ; cleanup ; exit 1; }
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
alias foo='bar'
|
||||||
|
! nvm_has_non_aliased foo || die '"nvm_has_non_aliased foo" was not true'
|
||||||
|
|
||||||
|
alias grep='grep'
|
||||||
|
unalias grep || die '"unalias grep" failed'
|
||||||
|
nvm_has_non_aliased grep || die '"nvm_has_non_aliased grep" with unaliased grep was not false'
|
||||||
|
|
||||||
|
alias grep='grep'
|
||||||
|
! nvm_has_non_aliased grep || die '"nvm_is_alias grep" with aliased grep was not true'
|
||||||
|
|
||||||
|
nvm_has_non_aliased cat && type cat > /dev/null || die 'nvm_has_non_aliased locates "cat" properly'
|
||||||
|
|
||||||
|
[ "~$(nvm_has_non_aliased foobarbaz 2>&1)" = "~" ] || die "nvm_has_non_aliased does not suppress error output"
|
||||||
|
|
||||||
|
! nvm_has_non_aliased foobarbaz && ! type foobarbaz >/dev/null 2>&1 || die "nvm_has_non_aliased does not return a nonzero exit code when not found"
|
||||||
|
|
||||||
|
cleanup
|
||||||
@@ -16,7 +16,7 @@ assert_not_ok nvm_has_solaris_binary "v3.3.1"
|
|||||||
# Valid io.js version numbers that have a Solaris binary succeed
|
# Valid io.js version numbers that have a Solaris binary succeed
|
||||||
assert_ok nvm_has_solaris_binary "iojs-v3.3.1"
|
assert_ok nvm_has_solaris_binary "iojs-v3.3.1"
|
||||||
|
|
||||||
# Invvalid io.js version numbers fail
|
# Invalid io.js version numbers fail
|
||||||
assert_not_ok nvm_has_solaris_binary "iojs-v0.12.7"
|
assert_not_ok nvm_has_solaris_binary "iojs-v0.12.7"
|
||||||
|
|
||||||
# Valid node version numbers that don't have a Solaris binary fail
|
# Valid node version numbers that don't have a Solaris binary fail
|
||||||
|
|||||||
58
test/fast/Unit tests/nvm_install_latest_npm
Executable file
58
test/fast/Unit tests/nvm_install_latest_npm
Executable file
@@ -0,0 +1,58 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
\. ../../common.sh
|
||||||
|
|
||||||
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
nvm deactivate >/dev/null 2>&1
|
||||||
|
|
||||||
|
CURRENT="$(nvm current)"
|
||||||
|
[ "$CURRENT" = 'none' ] || [ "$CURRENT" = 'system' ] || die "nvm should be using none or system; got $CURRENT"
|
||||||
|
|
||||||
|
nvm_ls_current() {
|
||||||
|
echo 'none'
|
||||||
|
}
|
||||||
|
node() {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
npm() {
|
||||||
|
echo '1.2.3'
|
||||||
|
}
|
||||||
|
|
||||||
|
OUTPUT="$(nvm_install_latest_npm 2>&1 >/dev/null)"
|
||||||
|
EXIT_CODE="$(nvm_install_latest_npm >/dev/null 2>&1 ; echo $?)"
|
||||||
|
|
||||||
|
EXPECTED="Unable to obtain node version."
|
||||||
|
[ "${OUTPUT}" = "${EXPECTED}" ] || die "When node is unavailable, expected >${EXPECTED}<; got >${OUTPUT}"
|
||||||
|
|
||||||
|
node() {
|
||||||
|
echo 'v4.5.6'
|
||||||
|
}
|
||||||
|
nvm_ls_current() {
|
||||||
|
node --version
|
||||||
|
}
|
||||||
|
npm() {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
OUTPUT="$(nvm_install_latest_npm 2>&1 >/dev/null)"
|
||||||
|
EXIT_CODE="$(nvm_install_latest_npm >/dev/null 2>&1 ; echo $?)"
|
||||||
|
|
||||||
|
EXPECTED="Unable to obtain npm version."
|
||||||
|
[ "${OUTPUT}" = "${EXPECTED}" ] || die "When node is available and npm is unavailable, expected >${EXPECTED}<; got >${OUTPUT}"
|
||||||
|
|
||||||
|
node() {
|
||||||
|
echo 'v4.5.6'
|
||||||
|
}
|
||||||
|
nvm_ls_current() {
|
||||||
|
echo 'system'
|
||||||
|
}
|
||||||
|
npm() {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
OUTPUT="$(nvm_install_latest_npm 2>&1 >/dev/null)"
|
||||||
|
EXIT_CODE="$(nvm_install_latest_npm >/dev/null 2>&1 ; echo $?)"
|
||||||
|
|
||||||
|
EXPECTED="Unable to obtain npm version."
|
||||||
|
[ "${OUTPUT}" = "${EXPECTED}" ] || die "When node is system and npm is unavailable, expected >${EXPECTED}<; got >${OUTPUT}"
|
||||||
@@ -21,6 +21,7 @@ rm -rf "$TEST_DIR"
|
|||||||
mkdir "$TEST_DIR"
|
mkdir "$TEST_DIR"
|
||||||
ln -s "$(command which which)" "$TEST_DIR/which"
|
ln -s "$(command which which)" "$TEST_DIR/which"
|
||||||
ln -s "$(command which dirname)" "$TEST_DIR/dirname"
|
ln -s "$(command which dirname)" "$TEST_DIR/dirname"
|
||||||
|
ln -s "$(command which printf)" "$TEST_DIR/printf"
|
||||||
|
|
||||||
[ "$(PATH="$TEST_DIR" nvm_ls_current)" = "none" ] || die 'when node not installed, nvm_ls_current did not return "none"'
|
[ "$(PATH="$TEST_DIR" nvm_ls_current)" = "none" ] || die 'when node not installed, nvm_ls_current did not return "none"'
|
||||||
[ "@$(PATH="$TEST_DIR" nvm_ls_current 2> /dev/stdout 1> /dev/null)@" = "@@" ] || die 'when node not installed, nvm_ls_current returned error output'
|
[ "@$(PATH="$TEST_DIR" nvm_ls_current 2> /dev/stdout 1> /dev/null)@" = "@@" ] || die 'when node not installed, nvm_ls_current returned error output'
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ nvm_ls_remote >/dev/null || die "nvm_ls_remote_failed?!"
|
|||||||
|
|
||||||
CALL_COUNT="$(cat "$CALL_COUNT_PATH")"
|
CALL_COUNT="$(cat "$CALL_COUNT_PATH")"
|
||||||
|
|
||||||
EXPECTED_COUNT=3
|
EXPECTED_COUNT=4
|
||||||
[ "$CALL_COUNT" = "$EXPECTED_COUNT" ] || die "nvm_make_alias called $CALL_COUNT times; expected $EXPECTED_COUNT"
|
[ "$CALL_COUNT" = "$EXPECTED_COUNT" ] || die "nvm_make_alias called $CALL_COUNT times; expected $EXPECTED_COUNT"
|
||||||
|
|
||||||
ARGS="$(cat "$ALIAS_ARGS_PATH")"
|
ARGS="$(cat "$ALIAS_ARGS_PATH")"
|
||||||
|
|||||||
@@ -35,4 +35,3 @@ iojs-v1.0.4"
|
|||||||
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "nvm_ls_remote_iojs 1.0 did not output 1.0.x versions; got $OUTPUT"
|
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "nvm_ls_remote_iojs 1.0 did not output 1.0.x versions; got $OUTPUT"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
@@ -22,4 +22,3 @@ die () { echo "$@" ; exit 1; }
|
|||||||
[ "~$(nvm_num_version_groups 1.2.3)" = "~3" ] || die "1.2.3 should give 3"
|
[ "~$(nvm_num_version_groups 1.2.3)" = "~3" ] || die "1.2.3 should give 3"
|
||||||
[ "~$(nvm_num_version_groups v1.2.3)" = "~3" ] || die "v1.2.3 should give 3"
|
[ "~$(nvm_num_version_groups v1.2.3)" = "~3" ] || die "v1.2.3 should give 3"
|
||||||
[ "~$(nvm_num_version_groups v1.2.3.)" = "~3" ] || die "v1.2.3. should give 3"
|
[ "~$(nvm_num_version_groups v1.2.3.)" = "~3" ] || die "v1.2.3. should give 3"
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
|
||||||
|
|
||||||
\. ../../../nvm.sh
|
|
||||||
|
|
||||||
TEST_PATH=/usr/bin:/usr/local/bin
|
|
||||||
|
|
||||||
NEW_PATH=`nvm_prepend_path "$TEST_PATH" "$NVM_DIR/v0.2.5/bin"`
|
|
||||||
|
|
||||||
[ "$NEW_PATH" = "$NVM_DIR/v0.2.5/bin:/usr/bin:/usr/local/bin" ] || die "Not correctly prepended: $NEW_PATH "
|
|
||||||
|
|
||||||
|
|
||||||
EMPTY_PATH=
|
|
||||||
|
|
||||||
NEW_PATH=`nvm_prepend_path "$EMPTY_PATH" "$NVM_DIR/v0.2.5/bin"`
|
|
||||||
|
|
||||||
[ "$NEW_PATH" = "$NVM_DIR/v0.2.5/bin" ] || die "Not correctly prepended: $NEW_PATH "
|
|
||||||
@@ -23,4 +23,3 @@ EXPECTED_SECOND_MSG="Only implicit aliases 'stable', 'unstable', 'iojs', and 'no
|
|||||||
SECOND_EXIT_CODE="$(nvm_print_implicit_alias local > /dev/null 2>&1 ; echo $?)"
|
SECOND_EXIT_CODE="$(nvm_print_implicit_alias local > /dev/null 2>&1 ; echo $?)"
|
||||||
[ "_$SECOND_EXIT_CODE" = "_2" ] \
|
[ "_$SECOND_EXIT_CODE" = "_2" ] \
|
||||||
|| die "nvm_print_implicit_alias without stable|unstable|iojs|node had wrong exit code: expected 2, got $SECOND_EXIT_CODE"
|
|| die "nvm_print_implicit_alias without stable|unstable|iojs|node had wrong exit code: expected 2, got $SECOND_EXIT_CODE"
|
||||||
|
|
||||||
|
|||||||
@@ -75,4 +75,3 @@ EXIT_CODE="$(nvm_remote_versions iojs >/dev/null 2>&1 ; echo $?)"
|
|||||||
[ "_$EXIT_CODE" = "_0" ] || die "nvm_remote_versions iojs did not exit with 0, got $EXIT_CODE"
|
[ "_$EXIT_CODE" = "_0" ] || die "nvm_remote_versions iojs did not exit with 0, got $EXIT_CODE"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
@@ -29,4 +29,3 @@ nvm_tree_contains_path tmp2 tmp2/node || die '"tmp2" should contain "tmp2/node"'
|
|||||||
nvm_tree_contains_path tmp2 tmp/node && die '"tmp2" should not contain "tmp/node"'
|
nvm_tree_contains_path tmp2 tmp/node && die '"tmp2" should not contain "tmp/node"'
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
24
test/fast/Unit tests/nvm_use_if_needed
Executable file
24
test/fast/Unit tests/nvm_use_if_needed
Executable file
@@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup() { unset -f nvm_ls_current nvm; }
|
||||||
|
die () { echo "$@" ; cleanup ; exit 1; }
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
nvm_ls_current() { echo foo; }
|
||||||
|
|
||||||
|
nvm() {
|
||||||
|
echo "nvm: $@"
|
||||||
|
}
|
||||||
|
|
||||||
|
OUTPUT="$(nvm_use_if_needed foo)"
|
||||||
|
EXPECTED_OUTPUT=''
|
||||||
|
|
||||||
|
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "expected >${EXPECTED_OUTPUT}<; got >${OUTPUT}<"
|
||||||
|
|
||||||
|
OUTPUT="$(nvm_use_if_needed bar)"
|
||||||
|
EXPECTED_OUTPUT='nvm: use bar'
|
||||||
|
|
||||||
|
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "expected >${EXPECTED_OUTPUT}<; got >${OUTPUT}<"
|
||||||
|
|
||||||
|
cleanup
|
||||||
@@ -18,4 +18,3 @@ nvm_validate_implicit_alias stable || die "nvm_validate_implicit_alias stable di
|
|||||||
nvm_validate_implicit_alias unstable || die "nvm_validate_implicit_alias unstable did not exit 0"
|
nvm_validate_implicit_alias unstable || die "nvm_validate_implicit_alias unstable did not exit 0"
|
||||||
nvm_validate_implicit_alias node || die "nvm_validate_implicit_alias node did not exit 0"
|
nvm_validate_implicit_alias node || die "nvm_validate_implicit_alias node did not exit 0"
|
||||||
nvm_validate_implicit_alias iojs || die "nvm_validate_implicit_alias iojs did not exit 0"
|
nvm_validate_implicit_alias iojs || die "nvm_validate_implicit_alias iojs did not exit 0"
|
||||||
|
|
||||||
|
|||||||
@@ -9,4 +9,3 @@ die () { echo "$@" ; exit 1; }
|
|||||||
[ "$(nvm_version_dir new)" = "$(nvm_version_dir)" ] || die '"nvm_version_dir new" did not return new dir path'
|
[ "$(nvm_version_dir new)" = "$(nvm_version_dir)" ] || die '"nvm_version_dir new" did not return new dir path'
|
||||||
[ "$(nvm_version_dir old)" = "$NVM_DIR" ] || die '"nvm_version_dir old" did not return old dir path'
|
[ "$(nvm_version_dir old)" = "$NVM_DIR" ] || die '"nvm_version_dir old" did not return old dir path'
|
||||||
[ "$(nvm_version_dir foo 2>&1)" = "unknown version dir" ] || die '"nvm_version_dir foo" did not error out'
|
[ "$(nvm_version_dir foo 2>&1)" = "unknown version dir" ] || die '"nvm_version_dir foo" did not error out'
|
||||||
|
|
||||||
|
|||||||
@@ -13,4 +13,3 @@ fi
|
|||||||
if nvm_version_greater 0.10.0 0.10.0; then
|
if nvm_version_greater 0.10.0 0.10.0; then
|
||||||
die '"nvm_version_greater" returned false for the same two versions'
|
die '"nvm_version_greater" returned false for the same two versions'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,3 @@ EXPECTED_OUTPUT="$NVM_DIR/foo"
|
|||||||
[ "$(nvm_version_path v0.11.0)" = "$NVM_DIR/v0.11.0" ] || die 'old version has the wrong path'
|
[ "$(nvm_version_path v0.11.0)" = "$NVM_DIR/v0.11.0" ] || die 'old version has the wrong path'
|
||||||
[ "$(nvm_version_path v0.12.0)" = "$NVM_DIR/versions/node/v0.12.0" ] || die 'new version has the wrong path'
|
[ "$(nvm_version_path v0.12.0)" = "$NVM_DIR/versions/node/v0.12.0" ] || die 'new version has the wrong path'
|
||||||
[ "$(nvm_version_path iojs-v0.12.0)" = "$NVM_DIR/versions/io.js/v0.12.0" ] || die 'iojs version has the wrong path'
|
[ "$(nvm_version_path iojs-v0.12.0)" = "$NVM_DIR/versions/io.js/v0.12.0" ] || die 'iojs version has the wrong path'
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ cleanup () {
|
|||||||
unset HOME
|
unset HOME
|
||||||
unset NVM_ENV
|
unset NVM_ENV
|
||||||
unset NVM_DETECT_PROFILE
|
unset NVM_DETECT_PROFILE
|
||||||
|
unset BASH_VERSION
|
||||||
|
unset ZSH_VERSION
|
||||||
unset -f setup cleanup die
|
unset -f setup cleanup die
|
||||||
rm -f ".bashrc" ".bash_profile" ".zshrc" ".profile" "test_profile" > "/dev/null" 2>&1
|
rm -f ".bashrc" ".bash_profile" ".zshrc" ".profile" "test_profile" > "/dev/null" 2>&1
|
||||||
}
|
}
|
||||||
@@ -27,7 +29,7 @@ setup
|
|||||||
#
|
#
|
||||||
|
|
||||||
# .bashrc should be detected for bash
|
# .bashrc should be detected for bash
|
||||||
NVM_DETECT_PROFILE="$(SHELL="/bin/bash"; unset PROFILE; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(BASH_VERSION="1"; unset PROFILE; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "$HOME/.bashrc" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "$HOME/.bashrc" ]; then
|
||||||
die "nvm_detect_profile didn't pick \$HOME/.bashrc for bash"
|
die "nvm_detect_profile didn't pick \$HOME/.bashrc for bash"
|
||||||
fi
|
fi
|
||||||
@@ -39,7 +41,7 @@ if [ "$NVM_DETECT_PROFILE" != "test_profile" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# .zshrc should be detected for zsh
|
# .zshrc should be detected for zsh
|
||||||
NVM_DETECT_PROFILE="$(SHELL="/usr/bin/zsh"; unset PROFILE; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(ZSH_VERSION="1"; unset PROFILE; unset BASH_VERSION; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "$HOME/.zshrc" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "$HOME/.zshrc" ]; then
|
||||||
die "nvm_detect_profile didn't pick \$HOME/.zshrc for zsh"
|
die "nvm_detect_profile didn't pick \$HOME/.zshrc for zsh"
|
||||||
fi
|
fi
|
||||||
@@ -47,7 +49,7 @@ fi
|
|||||||
# $PROFILE should override .zshrc profile detection
|
# $PROFILE should override .zshrc profile detection
|
||||||
NVM_DETECT_PROFILE="$(SHELL="/usr/bin/zsh"; PROFILE="test_profile"; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(SHELL="/usr/bin/zsh"; PROFILE="test_profile"; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "test_profile" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "test_profile" ]; then
|
||||||
die "nvm_detect_profile ignored \$PROFILE"
|
die "nvm_detect_profile ignored \$PROFILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@@ -56,7 +58,7 @@ fi
|
|||||||
#
|
#
|
||||||
|
|
||||||
# $PROFILE is a valid file
|
# $PROFILE is a valid file
|
||||||
NVM_DETECT_PROFILE="$(PROFILE="test_profile"; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(PROFILE="test_profile"; unset ZSH_VERSION; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "test_profile" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "test_profile" ]; then
|
||||||
die "nvm_detect_profile didn't pick \$PROFILE when it was a valid file"
|
die "nvm_detect_profile didn't pick \$PROFILE when it was a valid file"
|
||||||
fi
|
fi
|
||||||
@@ -75,35 +77,35 @@ fi
|
|||||||
#
|
#
|
||||||
|
|
||||||
# It should favor .profile if file exists
|
# It should favor .profile if file exists
|
||||||
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(unset BASH_VERSION; unset ZSH_VERSION; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "$HOME/.profile" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "$HOME/.profile" ]; then
|
||||||
die "nvm_detect_profile should have selected .profile"
|
die "nvm_detect_profile should have selected .profile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Otherwise, it should favor .bashrc if file exists
|
# Otherwise, it should favor .bashrc if file exists
|
||||||
rm ".profile"
|
rm ".profile"
|
||||||
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(unset BASH_VERSION; unset ZSH_VERSION; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "$HOME/.bashrc" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "$HOME/.bashrc" ]; then
|
||||||
die "nvm_detect_profile should have selected .bashrc"
|
die "nvm_detect_profile should have selected .bashrc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Otherwise, it should favor .bash_profile if file exists
|
# Otherwise, it should favor .bash_profile if file exists
|
||||||
rm ".bashrc"
|
rm ".bashrc"
|
||||||
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(unset BASH_VERSION; unset ZSH_VERSION; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "$HOME/.bash_profile" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "$HOME/.bash_profile" ]; then
|
||||||
die "nvm_detect_profile should have selected .bash_profile"
|
die "nvm_detect_profile should have selected .bash_profile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Otherwise, it should favor .zshrc if file exists
|
# Otherwise, it should favor .zshrc if file exists
|
||||||
rm ".bash_profile"
|
rm ".bash_profile"
|
||||||
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(unset BASH_VERSION; unset ZSH_VERSION; nvm_detect_profile)"
|
||||||
if [ "$NVM_DETECT_PROFILE" != "$HOME/.zshrc" ]; then
|
if [ "$NVM_DETECT_PROFILE" != "$HOME/.zshrc" ]; then
|
||||||
die "nvm_detect_profile should have selected .zshrc"
|
die "nvm_detect_profile should have selected .zshrc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# It should be empty if none is found
|
# It should be empty if none is found
|
||||||
rm ".zshrc"
|
rm ".zshrc"
|
||||||
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
|
NVM_DETECT_PROFILE="$(unset BASH_VERSION; unset ZSH_VERSION; nvm_detect_profile)"
|
||||||
if [ ! -z "$NVM_DETECT_PROFILE" ]; then
|
if [ ! -z "$NVM_DETECT_PROFILE" ]; then
|
||||||
die "nvm_detect_profile should have returned an empty value"
|
die "nvm_detect_profile should have returned an empty value"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -6,4 +6,3 @@ NVM_ENV=testing \. ../../install.sh
|
|||||||
|
|
||||||
#nvm_do_install is available
|
#nvm_do_install is available
|
||||||
type nvm_do_install > /dev/null 2>&1 || die 'nvm_do_install is not available'
|
type nvm_do_install > /dev/null 2>&1 || die 'nvm_do_install is not available'
|
||||||
|
|
||||||
|
|||||||
@@ -22,4 +22,3 @@ install_dir=$(nvm_install_dir)
|
|||||||
[ "_$install_dir" = "_$HOME/.nvm" ] || die "nvm_install_dir should default to \$HOME/.nvm. Current output: $install_dir"
|
[ "_$install_dir" = "_$HOME/.nvm" ] || die "nvm_install_dir should default to \$HOME/.nvm. Current output: $install_dir"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
22
test/install_script/nvm_install_with_aliased_dot
Executable file
22
test/install_script/nvm_install_with_aliased_dot
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
shopt -s expand_aliases
|
||||||
|
alias .=':'
|
||||||
|
NVM_ENV=testing \. ../../install.sh > /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
cleanup () {
|
||||||
|
unset -f setup cleanup die
|
||||||
|
unalias .
|
||||||
|
shopt -u expand_aliases
|
||||||
|
}
|
||||||
|
|
||||||
|
die () { echo "$@"; exit 1; }
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
nvm_do_install > /dev/null 2>&1
|
||||||
|
command -v nvm || die 'nvm could not be loaded'
|
||||||
|
|
||||||
|
cleanup
|
||||||
8
test/install_script/nvm_install_with_node_version
Executable file
8
test/install_script/nvm_install_with_node_version
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
NODE_VERSION=8 \. ../../install.sh
|
||||||
|
|
||||||
|
# nvm installed node 8
|
||||||
|
nvm ls 8 > /dev/null 2>&1 || die "nvm didn't install node 8"
|
||||||
13
test/install_script/nvm_profile_is_bash_or_zsh
Executable file
13
test/install_script/nvm_profile_is_bash_or_zsh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
NVM_ENV=testing \. ../../install.sh
|
||||||
|
|
||||||
|
#nvm_profile_is_bash_or_zsh is available
|
||||||
|
type nvm_profile_is_bash_or_zsh > /dev/null 2>&1 || die 'nvm_profile_is_bash_or_zsh is not available'
|
||||||
|
nvm_profile_is_bash_or_zsh "/home/nvm/.bashrc" || die '/home/nvm/.bashrc is bash profile'
|
||||||
|
nvm_profile_is_bash_or_zsh "/home/nvm/.bash_profile" || die '/home/nvm/.bash_profile is bash profile'
|
||||||
|
nvm_profile_is_bash_or_zsh "/home/nvm/.zshrc" || die '/home/nvm/.zshrc is zsh profile'
|
||||||
|
if nvm_profile_is_bash_or_zsh "/home/nvm/.bash"; then die '/home/nvm/.bash is not bash nor zsh profile'; fi
|
||||||
|
if nvm_profile_is_bash_or_zsh "/home/nvm/.zsh" ; then die '/home/nvm/.zsh is not bash nor zsh profile'; fi
|
||||||
@@ -36,4 +36,3 @@ nvm_reset || die 'nvm_reset failed'
|
|||||||
! safe_type nvm_detect_profile || die 'nvm_detect_profile is still available'
|
! safe_type nvm_detect_profile || die 'nvm_detect_profile is still available'
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
@@ -37,4 +37,3 @@ out=$(nvm_source "anything")
|
|||||||
[ "_$out" = "_my_location" ] || die "nvm_source script should have returned \$NVM_SOURCE. Got \"$out\""
|
[ "_$out" = "_my_location" ] || die "nvm_source script should have returned \$NVM_SOURCE. Got \"$out\""
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,3 @@
|
|||||||
if [ -f ".nvmrc" ]; then
|
if [ -f ".nvmrc" ]; then
|
||||||
mv .nvmrc .nvmrc.bak
|
mv .nvmrc .nvmrc.bak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -14,4 +14,3 @@ fi
|
|||||||
if [ -f ".nvmrc.bak" ]; then
|
if [ -f ".nvmrc.bak" ]; then
|
||||||
mv .nvmrc.bak .nvmrc
|
mv .nvmrc.bak .nvmrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -ex
|
set -eux
|
||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
@@ -24,8 +24,6 @@ EXPECTED_OUTPUT="Version '3' (with LTS filter 'argon') not found - try \`nvm ls-
|
|||||||
[ "${EXIT_CODE}" = 3 ] || die "\`nvm install --lts=argon 3\` did not exit with 3, got >${EXIT_CODE}<"
|
[ "${EXIT_CODE}" = 3 ] || die "\`nvm install --lts=argon 3\` did not exit with 3, got >${EXIT_CODE}<"
|
||||||
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "\`nvm install --lts=argon 3\` output >${OUTPUT}<, expected >${EXPECTED_OUTPUT}<"
|
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "\`nvm install --lts=argon 3\` output >${OUTPUT}<, expected >${EXPECTED_OUTPUT}<"
|
||||||
|
|
||||||
set +e # TODO: fix
|
|
||||||
nvm install --lts 4.2.2 || die 'nvm install --lts 4.2.2 failed'
|
nvm install --lts 4.2.2 || die 'nvm install --lts 4.2.2 failed'
|
||||||
set -e
|
|
||||||
|
|
||||||
[ "$(nvm current)" = "v4.2.2" ] || die "v4.2.2 not current, got $(nvm_current)"
|
[ "$(nvm current)" = "v4.2.2" ] || die "v4.2.2 not current, got $(nvm_current)"
|
||||||
|
|||||||
@@ -21,4 +21,3 @@ nvm install $NVM_TEST_VERSION || die "'nvm install -s $NVM_TEST_VERSION' failed"
|
|||||||
# Check
|
# Check
|
||||||
[ -d ../../$NVM_TEST_VERSION ]
|
[ -d ../../$NVM_TEST_VERSION ]
|
||||||
nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION || "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"
|
nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION || "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ die () { echo "$@" ; exit 1; }
|
|||||||
|
|
||||||
\. ../../nvm.sh
|
\. ../../nvm.sh
|
||||||
|
|
||||||
NVM_TEST_VERSION=v0.10.41
|
NVM_TEST_VERSION=v0.10.7
|
||||||
|
|
||||||
# STAGE 1 #
|
# STAGE 1 #
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,7 @@ OUTPUT="$(NVM_INSTALL_THIRD_PARTY_HOOK=succeed nvm install "${VERSION}")"
|
|||||||
USE_OUTPUT="$(nvm use "${VERSION}")"
|
USE_OUTPUT="$(nvm use "${VERSION}")"
|
||||||
EXPECTED_OUTPUT="${VERSION} node std binary ${VERSION_PATH}
|
EXPECTED_OUTPUT="${VERSION} node std binary ${VERSION_PATH}
|
||||||
Downloading and installing node ${VERSION}...
|
Downloading and installing node ${VERSION}...
|
||||||
${USE_OUTPUT}
|
${USE_OUTPUT}"
|
||||||
${USE_OUTPUT}" # double use output is from the normal install in succeed()
|
|
||||||
|
|
||||||
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "expected >${EXPECTED_OUTPUT}<; got >${OUTPUT}<"
|
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "expected >${EXPECTED_OUTPUT}<; got >${OUTPUT}<"
|
||||||
|
|
||||||
@@ -38,5 +37,3 @@ ${USE_OUTPUT}
|
|||||||
failed"
|
failed"
|
||||||
|
|
||||||
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "expected >${EXPECTED_OUTPUT}<; got >${OUTPUT}<"
|
[ "${OUTPUT}" = "${EXPECTED_OUTPUT}" ] || die "expected >${EXPECTED_OUTPUT}<; got >${OUTPUT}<"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
41
test/installation_node/install latest npm
Executable file
41
test/installation_node/install latest npm
Executable file
@@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
set +e # todo: fix
|
||||||
|
\. ../../nvm.sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
nvm deactivate >/dev/null 2>&1 || die 'unable to deactivate: 1'
|
||||||
|
nvm install 4 >/dev/null 2>&1 || die 'install v4 failed'
|
||||||
|
nvm install-latest-npm || die 'nvm install-latest-npm failed: 1'
|
||||||
|
NPM_VERSION="$(npm --version)"
|
||||||
|
nvm_version_greater_than_or_equal_to "${NPM_VERSION}" 5.0.0 || die "node v4.x updates to ${NPM_VERSION}; expected >= v5"
|
||||||
|
|
||||||
|
nvm deactivate >/dev/null 2>&1 || die 'unable to deactivate: 2'
|
||||||
|
nvm install 1.0 >/dev/null 2>&1 || die 'install v1.0 failed'
|
||||||
|
nvm install-latest-npm || die 'nvm install-latest-npm failed: 2'
|
||||||
|
NPM_VERSION="$(npm --version)"
|
||||||
|
[ "${NPM_VERSION}" = '4.5.0' ] || die "io.js v1.0.x updates to ${NPM_VERSION}; expected v4.5.0"
|
||||||
|
|
||||||
|
nvm deactivate >/dev/null 2>&1 || die 'unable to deactivate: 3'
|
||||||
|
nvm install 1 >/dev/null 2>&1 || die 'install v1 failed'
|
||||||
|
nvm install-latest-npm || die 'nvm install-latest-npm failed: 3'
|
||||||
|
NPM_VERSION="$(npm --version)"
|
||||||
|
[ "${NPM_VERSION}" = '4.6.1' ] || die "io.js v1.x updates to ${NPM_VERSION}; expected v4.6.1"
|
||||||
|
|
||||||
|
nvm deactivate >/dev/null 2>&1 || die 'unable to deactivate: 4'
|
||||||
|
nvm install 0.8.27 >/dev/null 2>&1 || die 'install v0.8 failed'
|
||||||
|
nvm install-latest-npm || die 'nvm install-latest-npm failed: 4'
|
||||||
|
NPM_VERSION="$(npm --version)"
|
||||||
|
[ "${NPM_VERSION}" = '4.5.0' ] || die "node 0.8.27 updates to ${NPM_VERSION}; expected v4.5.0"
|
||||||
|
|
||||||
|
## Commented to work around travis-ci breaking 0,6 installs
|
||||||
|
# nvm deactivate >/dev/null 2>&1 || die 'unable to deactivate: 5'
|
||||||
|
# nvm install 0.6.21 >/dev/null 2>&1 || die 'install v0.6 failed'
|
||||||
|
# export NPM_CONFIG_STRICT_SSL=false # npm 1 on travis can't handle SSL to npm
|
||||||
|
# nvm install-latest-npm || die 'nvm install-latest-npm failed: 5'
|
||||||
|
# NPM_VERSION="$(npm --version)"
|
||||||
|
# [ "${NPM_VERSION}" = '1.3.26' ] || die "node 0.6.21 updates to ${NPM_VERSION}; expected v1.3.26"
|
||||||
@@ -18,5 +18,3 @@ nvm install || die "'nvm install' failed"
|
|||||||
[ -d ../../$NVM_TEST_VERSION ] || die "./$NVM_TEST_VERSION did not exist"
|
[ -d ../../$NVM_TEST_VERSION ] || die "./$NVM_TEST_VERSION did not exist"
|
||||||
nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION \
|
nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION \
|
||||||
|| "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"
|
|| "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,5 +18,3 @@ nvm install -s || "'nvm install -s' failed"
|
|||||||
[ -d ../../$NVM_TEST_VERSION ] || die "$NVM_TEST_VERSION did not exist"
|
[ -d ../../$NVM_TEST_VERSION ] || die "$NVM_TEST_VERSION did not exist"
|
||||||
nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION \
|
nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION \
|
||||||
|| die "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"
|
|| die "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
12
test/installation_node/install with --latest-npm
Executable file
12
test/installation_node/install with --latest-npm
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
|
set +e # todo: fix
|
||||||
|
\. ../../nvm.sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
NVM_DEBUG=1 nvm install --latest-npm 4.2.2 \
|
||||||
|
| grep 'Attempting to upgrade to the latest working version of npm...' || die 'did not call through to nvm_install_latest_npm'
|
||||||
@@ -3,4 +3,3 @@
|
|||||||
if [ -f ".nvmrc" ]; then
|
if [ -f ".nvmrc" ]; then
|
||||||
mv .nvmrc .nvmrc.bak
|
mv .nvmrc .nvmrc.bak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,3 @@ fi
|
|||||||
if [ -f ".nvmrc.bak" ]; then
|
if [ -f ".nvmrc.bak" ]; then
|
||||||
mv .nvmrc.bak .nvmrc
|
mv .nvmrc.bak .nvmrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ if [ "_$1" = "_-m" ]; then
|
|||||||
echo "x86_64"
|
echo "x86_64"
|
||||||
else
|
else
|
||||||
echo "Darwin foo.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64"
|
echo "Darwin foo.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ if [ "_$1" = "_-m" ]; then
|
|||||||
echo "i386"
|
echo "i386"
|
||||||
else
|
else
|
||||||
echo "Darwin foo.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_I386 i386"
|
echo "Darwin foo.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_I386 i386"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -9,4 +9,3 @@ die () { echo "$@" ; exit 1; }
|
|||||||
nvm install 0.6.21 || die 'v0.6.21 installation failed'
|
nvm install 0.6.21 || die 'v0.6.21 installation failed'
|
||||||
[ "_$(node -v)" = "_v0.6.21-pre" ] || die "v0.6.21-pre not installed with v0.6.21, got $(node -v)"
|
[ "_$(node -v)" = "_v0.6.21-pre" ] || die "v0.6.21-pre not installed with v0.6.21, got $(node -v)"
|
||||||
[ "_$(nvm current)" = "_v0.6.21" ] || die "v0.6.21-pre not reported as v0.6.21, got $(nvm current)"
|
[ "_$(nvm current)" = "_v0.6.21" ] || die "v0.6.21-pre not reported as v0.6.21, got $(nvm current)"
|
||||||
|
|
||||||
|
|||||||
@@ -28,4 +28,3 @@ ${NPM_VERSION_ONE}"
|
|||||||
OUTPUT="$(nvm exec --silent 1 npm --version | head -1)"
|
OUTPUT="$(nvm exec --silent 1 npm --version | head -1)"
|
||||||
EXPECTED_OUTPUT="${NPM_VERSION_ONE}"
|
EXPECTED_OUTPUT="${NPM_VERSION_ONE}"
|
||||||
[ "$OUTPUT" = "$EXPECTED_OUTPUT" ] || die "\`nvm exec --silent\` failed to suppress io.js preamble; expected '$EXPECTED_OUTPUT', got '$OUTPUT'"
|
[ "$OUTPUT" = "$EXPECTED_OUTPUT" ] || die "\`nvm exec --silent\` failed to suppress io.js preamble; expected '$EXPECTED_OUTPUT', got '$OUTPUT'"
|
||||||
|
|
||||||
|
|||||||
@@ -14,4 +14,3 @@ echo "0.10.7" > .nvmrc
|
|||||||
[ "$(nvm exec npm --version | tail -1)" = "$NPM_VERSION_TEN" ] || die "\`nvm exec\` failed to run with the .nvmrc version"
|
[ "$(nvm exec npm --version | tail -1)" = "$NPM_VERSION_TEN" ] || die "\`nvm exec\` failed to run with the .nvmrc version"
|
||||||
|
|
||||||
[ "$(nvm exec npm --version | head -1)" = "Found '$PWD/.nvmrc' with version <0.10.7>" ] || die "\`nvm exec\` failed to print out the \"found in .nvmrc\" message"
|
[ "$(nvm exec npm --version | head -1)" = "Found '$PWD/.nvmrc' with version <0.10.7>" ] || die "\`nvm exec\` failed to print out the \"found in .nvmrc\" message"
|
||||||
|
|
||||||
|
|||||||
@@ -8,4 +8,3 @@ nvm install --lts
|
|||||||
if [ -f ".nvmrc" ]; then
|
if [ -f ".nvmrc" ]; then
|
||||||
mv .nvmrc .nvmrc.bak
|
mv .nvmrc .nvmrc.bak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user