Jordan Harband
09bf45ce6c
Merge pull request #908 from nullivex/master
...
[Docs] Add another Windows alternative.
2015-12-04 23:35:30 -08:00
Jordan Harband
641abc8407
Merge pull request #899 from PeterDaveHello/patch-2
...
[install] on install, indicate that there's no binary for FreeBSD
2015-12-04 23:31:49 -08:00
Peter Dave Hello
2a174d03d8
Update nvm.sh
...
Add prompt when there is no binary for node version greater than v1.0.0
Currently, on FreeBSD, if we try `nvm install 4.2`, we will only get:
> Installing node v1.0 and greater from source is not currently supported
In fact I had no idea what's wrong because I didn't use `-s` parameter for it,
and then I found that there are two reasons:
1. There was no pre-built nodejs binary from official for FreeBSD, which means we need to build from source.
2. nvm doesn't support build for v1.0 and greater version from source yet.
So I think there should be a prompt message to tell the user about the reason why nvm will go to build from source,
no matter it will succeed or fail.
2015-12-05 15:00:00 +08:00
Jordan Harband
803be3a4eb
[Tests] temporarily disable WITHOUT_CURL tests.
...
Blocked by https://github.com/nodejs/build/issues/233
2015-12-02 22:49:38 -08:00
Jordan Harband
6d2c9a95b0
[Docs] remove note about "global install", since `nvm` is not intended for multiuser installs.
...
Per https://github.com/creationix/nvm/issues/918#issuecomment-161527422
2015-12-02 22:14:08 -08:00
Bryan Tong
720087b009
Add another Windows alternative.
...
Nodist is a similar CLI interface providing similar functionality. Nodist also recently added a Windows install wizard.
2015-11-18 20:18:55 -07:00
Jordan Harband
c742ab7e66
Fix `npm` version output for `nvm run` and `nvm exec`
2015-11-10 23:31:16 -08:00
Jordan Harband
e10705b896
[Docs] improve manual install instructions
2015-11-09 11:36:30 -08:00
Jordan Harband
9972de6dec
[Docs] update version numbers in the readme; add default alias info
2015-11-04 21:19:32 -08:00
Jordan Harband
45e4387ce3
[Tests] Print out `curl` and `wget` versions inside `travis-ci`
2015-11-02 00:50:40 -08:00
Jordan Harband
cb03acf458
Merge pull request #892 from wbyoung/stable-node
...
[Docs] use "node", not "stable", since everything is stable now
2015-11-03 10:46:14 -08:00
Whitney Young
9cceded178
Updated docs for alias default.
2015-11-03 10:44:07 -08:00
Jordan Harband
772d3223e9
Merge pull request #875 from mrueg/remove-backticks
...
[shellcheck] Replace backticks with $() command substitution
2015-10-29 01:15:02 -07:00
Manuel Rüger
1adcabf5e8
Replace backticks with $() command substitution
2015-10-28 20:53:15 +01:00
Jordan Harband
a43ff7c9d9
Ensure that `npm` doesn't print out excess data, regardless of the user's log level.
...
Fixes #881 .
2015-10-23 00:12:14 -07:00
Jordan Harband
149e5d483d
Use real snapshot of iojs.org data for `nvm_ls_remote_iojs` tests.
2015-10-17 12:05:44 -07:00
Jordan Harband
114f27a075
Use `nvm_ls_remote_index_tab` for listing nodejs.org versions.
...
Enabled by https://github.com/nodejs/build/issues/218 , unblocks #870 .
2015-10-17 10:34:42 -07:00
Jordan Harband
690543d6ad
Rename nvm_ls_remote_iojs_org → nvm_ls_remote_index_tab and make it generic.
2015-10-17 10:19:39 -07:00
Jordan Harband
b5e0603e64
Merge pull request #876 from derekstavis/patch-1
...
README: Add link to a dedicated nvm wrapper for fish shell
2015-10-15 17:17:13 -07:00
Derek Willian Stavis
84c2d6a91f
README: Add link to a dedicated nvm wrapper for fish shell
...
Includes references to `nvm` plugin for Oh My Fish framework,
which implements not only a fish wrapper to official `nvm` script,
but also provides completions.
2015-10-15 21:00:23 -03:00
Jordan Harband
0b9526e3b4
Don't check `$1` unless `$#` is >= 1.
...
Fixes #873 . Partially fixes #868 .
2015-10-14 23:02:00 -07:00
Jordan Harband
016e7dfdab
[nvm run / nvm exec]: Silence "find nvmrc" output when `--silent` is provided.
...
Per https://github.com/creationix/nvm/issues/846#issuecomment-147588453
2015-10-13 21:58:35 -07:00
Jordan Harband
2a0316f80d
[shellcheck] Remove useless `echo`
2015-10-13 01:26:43 -07:00
Jordan Harband
e7e28f436e
[shellcheck] double-quote vars in more places
2015-10-12 16:07:29 -07:00
Jordan Harband
84aad508f7
Check `$#` before trying to check `$1`. Avoids failure due to `nounset` bash option.
...
Partially fixes #868 .
2015-10-12 16:57:45 -07:00
Jordan Harband
8f3ee23390
[shellcheck] Correct redirection order: we want both stdout and stderr sent to /dev/null here.
2015-10-12 16:48:12 -07:00
Jordan Harband
032fab7172
`local`s need to be declared and assigned separately, for `ksh`.
2015-10-12 16:30:59 -07:00
Jordan Harband
46833efd79
[shellcheck] Remove useless `echo`
2015-10-12 16:10:43 -07:00
Jordan Harband
9407f850f1
[shellcheck] read without -r will mangle backslashes.
...
http://pubs.opengroup.org/onlinepubs/009695399/utilities/read.html / https://github.com/koalaman/shellcheck/wiki/SC2162
2015-10-12 16:05:55 -07:00
Jordan Harband
bf284203cb
[shellcheck] Declare and assign separately to avoid masking return values
...
https://github.com/koalaman/shellcheck/wiki/SC2155
2015-10-12 16:02:35 -07:00
Jordan Harband
c957989fa9
Add `nvm --version` and `$HOME` to `nvm debug`
2015-10-10 14:27:00 -07:00
Jordan Harband
bc4d14bea6
Merge pull request #866 from jfirebaugh/patch-1
...
[Docs] Note compatibility issue with `set -e` (#866 , #865 , #721 )
2015-10-09 11:32:52 -07:00
John Firebaugh
affe0baa95
Note compatibility issue with `set -e`
...
See discussion in #865 .
2015-10-09 11:01:07 -07:00
Jordan Harband
e1c84bae37
v0.29.0
2015-10-09 01:52:19 -07:00
Jordan Harband
a928a8f181
nvm exec: don't fall back to `.nvmrc` when the provided version is not installed.
2015-10-08 17:37:53 -07:00
Jordan Harband
937c29c95a
nvm run: use common code path for "ensure version installed"
...
Better than cb033adc6f
2015-10-08 16:48:17 -07:00
Jordan Harband
a0e94e16de
Make sure `nvm debug` doesn't use an overridden `sed`
2015-10-08 00:19:53 -07:00
Jordan Harband
7028e5df19
Merge pull request #823 from jbergstroem/feature/prefer-xz
...
Support `xz` tarballs if available (on io.js >= 2.3.2 and node >= 4)
2015-10-08 00:19:35 -07:00
Johan Bergström
b8e4917646
Use `xz` tarballs if available
...
Saves us ~25% bandwidth while downloading the payload. This only applies
to hosts that has the `xz` binary and attempts to use iojs 2.3.2 or newer
(this includes nodejs 4.0+ as well). Older targets are unaffected.
2015-10-08 16:45:26 +11:00
Jordan Harband
cb033adc6f
nvm run: use common code path for "ensure version installed"
2015-10-07 18:08:48 -07:00
Jordan Harband
20f4acdd25
[installing] echo the URL that the tarball is being downloaded from.
2015-10-07 20:28:18 -07:00
Jordan Harband
41153e207d
Ensure `nvm use` output shows up *after* `prefix` check passes.
2015-10-07 14:40:31 -07:00
Jordan Harband
6b3c34313c
Fix `nvm_ls` when `$NVM_DIR` has spaces in it.
...
Mostly fixes #861 .
2015-10-07 13:57:29 -07:00
Jordan Harband
8541e2e1ee
Properly quote some possible variables with spaces.
2015-10-07 13:57:13 -07:00
Jordan Harband
1efc8b4dbe
Merge pull request #859 from fresheneesz/patch-1
...
[docs] Make sure to note "Install OR update"
2015-10-05 16:01:58 -07:00
fresheneesz
49f2c95013
Install OR update
2015-10-05 15:56:41 -07:00
Jordan Harband
06a21284ed
Protect against `cat` clobbering. Fixes #858 .
2015-10-04 14:28:38 -07:00
Jordan Harband
ebdcdc4363
v0.28.0
2015-10-02 01:50:44 -07:00
Jordan Harband
b805de80cb
Add `PREFIX` and `NPM_CONFIG_PREFIX` env vars to `nvm debug`
2015-10-01 10:05:13 -07:00
Jordan Harband
44f416d58f
Create and use `nvm_sanitize_path` for `nvm debug`
2015-10-01 09:41:34 -07:00