Commit Graph

251 Commits

Author SHA1 Message Date
Ian Harris
79c2700083
Merge 672a49a159 into a82edf40ba 2022-06-03 11:32:59 +02:00
Jordan Harband
39d9a42c35
[Fix] install.sh: error out if the install instructions are not followed 2022-02-08 10:40:11 -08:00
Jordan Harband
6cfaede5a0
[Fix] install: better error message when xcode command line tools are needed
Fixes #2697. Fixes #2663.
2021-11-27 22:16:14 -08:00
Ian Harris
672a49a159
Merge branch 'man-pages' of https://github.com/harrisi/nvm into man-pages 2021-11-19 18:40:58 -08:00
Ian Harris
dac6b29036
Merge branch 'nvm-sh:master' into man-pages 2021-11-19 18:40:44 -08:00
Jordan Harband
9600617c52
v0.39.1 2021-12-17 14:55:52 -08:00
Jérôme Foray
4856407d26
[Fix] install: fix method=script install condition
Fixes #2665; see 8937917
2021-11-30 16:07:22 +01:00
Jordan Harband
89379176ac
[Fix] install: properly check for curl/wget 2021-11-25 14:26:35 -08:00
Jordan Harband
2f40eeef2e
[shellcheck] apply v0.8.0 updates 2021-11-19 08:53:43 -08:00
Ian Harris
dffdedc1a5
quote $PWD to avoid globbing and word splitting 2021-11-02 23:12:49 -07:00
Ian Harris
cd5562f30e
Merge branch 'master' into man-pages 2021-10-29 22:14:51 -07:00
Nix
c9e7bb2da1
[Fix] install script: Add --no-pager option to git branch 2021-10-23 22:23:55 +09:00
Ian Harris
12d67496e0 Add man page 2018-04-09 12:12:16 -07:00
Jordan Harband
5fc8bd950d
Fix whitespace 2018-02-25 13:34:28 -08:00
Peter Dave Hello
f3076d14c9
[Fix] Add missing "command" prefixes for few commands 2018-02-20 04:05:47 +08:00
Paul Norman
d34bb3247d
install.sh: Don't give detached HEAD advice when installing 2018-01-10 13:21:27 -08:00
Jordan Harband
7cba6cd6d0
install.sh: detect a defined but nonexistent $NVM_DIR
(ref: #1700)
2018-01-06 09:34:11 -08:00
Peter Dave Hello
2a8a81da94 [Fix] ShellCheck SC1117 in nvm.sh & install.sh 2017-12-14 03:26:17 +08:00
Jordan Harband
7ad6d98ced
v0.33.8 2017-12-12 10:43:17 -08:00
Jordan Harband
65f0572bdc
v0.33.7
Fixes
 - fix unassigned variable (#1665, #1664)
 - Fix for $path used by zsh (#1669)
 - `set -u`: ensure `NVM_USE_OUTPUT` is always set (#1671)
 - `install.sh`: Fix a bug that block that installation of node in install.sh (#1676)
 - `nvm install-latest-npm`: fix node 4-4.6

Documentation
 - Make `nvm cache clear` message less ambiguous (#1644)
 - Added missing piece (#1658)
2017-12-08 21:21:42 -08:00
Ahmad Magdy
c7ac69bfbb Fix nvm_install_node function in install.sh script to not override the actual NODE_VERSION value 2017-11-30 14:47:42 +01:00
Jordan Harband
b546436113
v0.33.6 2017-10-23 23:53:26 -07:00
Peter Dave Hello
a461a0fffc [Fix] install.sh shouldn't use not existed $NVM_PROFILE 2017-10-04 10:10:47 +08:00
Jordan Harband
6597e11971
v0.33.5 2017-09-29 12:50:27 -04:00
Jordan Harband
d91b6197f3
v0.33.4 2017-09-04 22:59:50 -07:00
Jordan Harband
6f19babbff
v0.33.3 2017-09-03 12:46:59 -07:00
Jordan Harband
3e1b4591bd
[New] install.sh: install bash_completion via script method.
Fixes #1588.
2017-08-08 10:11:41 -07:00
Peter Dave Hello
248706d5f8
[New] Clean up git reflog history before git gc 2017-07-14 00:37:58 +08:00
Peter Dave Hello
38a568c9c9
[New] Add --auto to git gc to speed up install & upgrade 2017-07-11 09:19:02 +08:00
Peter Dave Hello
1e69c4c77d
[New] Speedup process to install nvm from git by dropping commit history 2017-04-02 15:49:01 +08:00
Jordan Harband
0a95e77000
v0.33.2 2017-04-26 00:50:33 -07:00
Peter Dave Hello
ec3ba1973a
[New] install.sh: Parallel script download jobs 2017-04-05 04:54:38 +08:00
Peter Dave Hello
e84bcaabdc
[Refactor] Improve profile detection in install script 2017-04-03 23:06:04 +08:00
Peter Dave Hello
3f5fd57881
[Refactor] Reduce a sed command with pipe 2017-04-05 04:58:34 +08:00
Peter Dave Hello
f524bcb973
[Fix] Correct indent in install.sh 2017-04-05 05:01:54 +08:00
Peter Dave Hello
6a3b1dd2c3 [New] Enable curl auto compression/decompression
Enable `--compressed` parameter on curl to automatically enable
compression on request content by sending coressponding header, if the
server side supports compression format like deflate or gzip, curl will
also decompress the content automatically, so there is no additional
works need to done manually on client side, but just enjoy the benifits
of bandwidth and time saving!

Take https://nodejs.org/dist/index.tab as an example which is last
modified on Tue, 14 Mar 2017 22:41:05 GMT, the compressed transmission
only take 4829 bytes howevet the not compressed on taks 48000 bytes,
which is about 10 times larger!

This feature can be traced back to Sep 3 2002, in curl commit:
 - 64bbe9dfaf

So should be supported on various versions widely.
2017-03-23 16:51:20 +08:00
Peter Dave Hello
911ff87601 [Fix] bash_completion source prompt, remove && 2017-03-15 14:34:28 +08:00
Peter Dave Hello
9593616b8c [Fix] NVM_PROFILE bash/zsh detection in installation 2017-03-15 14:34:28 +08:00
Jordan Harband
6669e91bd8
v0.33.1 2017-02-20 17:59:20 -08:00
Jordan Harband
6fc0241c21
[Fix] install.sh: only un-interpolate $HOME for the profile source string.
Fixes #1384.
2017-02-12 00:32:49 -08:00
Ryan Wheale
1b2305232f
[install script] Use $HOME variable in NVM_DIR 2017-01-12 10:55:56 -07:00
Jordan Harband
40e40975eb
v0.33.0 2016-12-29 21:22:13 -10:00
Peter Dave Hello
7ed1e71944
[Refactor] Add missing backslash for dots
Related: #1279, 2a2b8bd, cadbbce
2016-11-24 13:47:20 +08:00
Jordan Harband
5b3d188b83
v0.39.0 2021-10-07 10:11:35 -07:00
Thomas Geirhovd
e98e9d9e4b
[Fix] install: Detect correct profile based on $SHELL var 2021-08-12 15:51:32 +02:00
Jordan Harband
3fea5493a4
v0.38.0 2021-03-29 12:49:10 -07:00
Jordan Harband
0579718308
[Fix] install script: define nvm_echo
- refactor `echo` to use `nvm_echo`

Per 589c2377fb (r48360520)
2021-03-17 09:07:15 -07:00
nmarghetti
502089ae30 [New] install script: Allow installation from other repository also for git method 2021-01-14 00:10:19 +01:00
nmarghetti
589c2377fb
[Fix] install script: sync nvm_download implementation from nvm.sh 2021-01-13 02:26:38 +01:00
nmarghetti
9f3397afa4
[Tests] add nvm_grep to install script, fix tests 2021-01-08 18:54:40 +01:00