Sladyn Nunes
4fdef427e4
[New] `install`: add `-b` flag to skip building from source
...
Fixes #2114 .
4 years ago
Kayla Altepeter
a5aec107df
[New] adding default and alias option to `nvm install`
...
For: `nvm install 8.12.0` after install:
--alias=8 is equivalent to `nvm alias 8 8.12.0`
--default is equivalent to `nvm alias default 8.12.0`
Co-authored-by: Kayla Altepeter <kayla@kaylaaltepeter.com>
Co-authored-by: Dena Burd <me@Denas-MacBook-Air.local>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
6 years ago
Jordan Harband
6575b6b052
[Fix] `install`: improved arg parsing around `--reinstall-packages-from`
...
Fixes #1762
5 years ago
Jordan Harband
db19450caa
[Fix] `default_packages`: work when the file lacks a trailing newline
...
Fixes #1995 .
6 years ago
Jordan Harband
5c117e6ab3
[Refactor] extract “get default packages” logic to `nvm_get_default_packages`
6 years ago
Jordan Harband
e7a37f336d
[Tests] fix failing tests on master due to npm registry SSL changes
7 years ago
Joshua Li
0cdc184168
[Fix] Improve `nvm_is_version_installed` to check for a node executable instead of root dir
7 years ago
Peter Dave Hello
41ec44f6b5
Add missing final newline in test script
7 years ago
Peter Dave Hello
2cd2c0f72e
Remove useless trailing newlines
7 years ago
Phileas Lebada
be171bba33
Add unset-variable as exit error
7 years ago
Jordan Harband
c0b56d03a1
[Fix] `install-latest-npm`: `io.js` `v1.0.x` has weird behavior with npm v4.6.x.
...
- comment out node 0.6 test due to travis-ci breakage
8 years ago
Jordan Harband
cbdd41eee2
[New] `nvm install`: add `--latest-npm` option to automatically try to upgrade to the latest working version of `npm`.
...
- also add `nvm install-latest-npm` top-level command
8 years ago
Peter Dave Hello
a66a9caa1c
[Tests] Use node v0.10.7 for thread para test as other install from src tests
8 years ago
Jordan Harband
b9f9977cdd
[Fix] `nvm install -s`: npm detection
...
- add `nvm_use_if_needed`
- add `nvm_install_npm_if_needed`
8 years ago
Jordan Harband
affcc5087c
[Fix] `set -e`: `nvm install lts/something`: call `nvm_ensure_default_set` with the proper value.
...
Fixes #1394 .
8 years ago
Peter Dave Hello
9c92b5a4ea
[New] `nvm install`: Print the version that is being installed
8 years ago
Peter Dave Hello
f7763c8ba9
[Tests] die() in tests should quote "$@" for echo
8 years ago
Jordan Harband
24f8ae5c46
[New] support external install hook “$NVM_INSTALL_THIRD_PARTY_HOOK”.
...
Fixes #1207 .
8 years ago
Qiangjun Ran
cadbbced20
[Tests] Replace all dots with backslash dots
8 years ago
Jordan Harband
54cc3a383e
[Tests] set -ex options on more tests
9 years ago
Jordan Harband
73aa35f508
[Tests] use `$NVM_DIR` instead of relative paths
9 years ago
Jordan Harband
655830eb58
[Tests] `nvm install --lts`: add tests
9 years ago
Jordan Harband
c9b7ccdaea
Run `node` and `io.js` installation test suites separately.
9 years ago