Jordan Harband
09bf45ce6c
Merge pull request #908 from nullivex/master
...
[Docs] Add another Windows alternative.
9 years ago
Jordan Harband
641abc8407
Merge pull request #899 from PeterDaveHello/patch-2
...
[install] on install, indicate that there's no binary for FreeBSD
9 years ago
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.
9 years ago
Jordan Harband
803be3a4eb
[Tests] temporarily disable WITHOUT_CURL tests.
...
Blocked by https://github.com/nodejs/build/issues/233
9 years ago
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
9 years ago
Bryan Tong
720087b009
Add another Windows alternative.
...
Nodist is a similar CLI interface providing similar functionality. Nodist also recently added a Windows install wizard.
9 years ago
Jordan Harband
c742ab7e66
Fix `npm` version output for `nvm run` and `nvm exec`
9 years ago
Jordan Harband
e10705b896
[Docs] improve manual install instructions
9 years ago
Jordan Harband
9972de6dec
[Docs] update version numbers in the readme; add default alias info
9 years ago
Jordan Harband
45e4387ce3
[Tests] Print out `curl` and `wget` versions inside `travis-ci`
9 years ago
Jordan Harband
cb03acf458
Merge pull request #892 from wbyoung/stable-node
...
[Docs] use "node", not "stable", since everything is stable now
9 years ago
Whitney Young
9cceded178
Updated docs for alias default.
9 years ago
Jordan Harband
772d3223e9
Merge pull request #875 from mrueg/remove-backticks
...
[shellcheck] Replace backticks with $() command substitution
9 years ago
Manuel Rüger
1adcabf5e8
Replace backticks with $() command substitution
9 years ago
Jordan Harband
a43ff7c9d9
Ensure that `npm` doesn't print out excess data, regardless of the user's log level.
...
Fixes #881 .
9 years ago
Jordan Harband
149e5d483d
Use real snapshot of iojs.org data for `nvm_ls_remote_iojs` tests.
9 years ago
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 .
9 years ago
Jordan Harband
690543d6ad
Rename nvm_ls_remote_iojs_org → nvm_ls_remote_index_tab and make it generic.
9 years ago
Jordan Harband
b5e0603e64
Merge pull request #876 from derekstavis/patch-1
...
README: Add link to a dedicated nvm wrapper for fish shell
9 years ago
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.
9 years ago
Jordan Harband
0b9526e3b4
Don't check `$1` unless `$#` is >= 1.
...
Fixes #873 . Partially fixes #868 .
9 years ago
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
9 years ago
Jordan Harband
2a0316f80d
[shellcheck] Remove useless `echo`
9 years ago
Jordan Harband
e7e28f436e
[shellcheck] double-quote vars in more places
9 years ago
Jordan Harband
84aad508f7
Check `$#` before trying to check `$1`. Avoids failure due to `nounset` bash option.
...
Partially fixes #868 .
9 years ago
Jordan Harband
8f3ee23390
[shellcheck] Correct redirection order: we want both stdout and stderr sent to /dev/null here.
9 years ago
Jordan Harband
032fab7172
`local`s need to be declared and assigned separately, for `ksh`.
9 years ago
Jordan Harband
46833efd79
[shellcheck] Remove useless `echo`
9 years ago
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
9 years ago
Jordan Harband
bf284203cb
[shellcheck] Declare and assign separately to avoid masking return values
...
https://github.com/koalaman/shellcheck/wiki/SC2155
9 years ago
Jordan Harband
c957989fa9
Add `nvm --version` and `$HOME` to `nvm debug`
9 years ago
Jordan Harband
bc4d14bea6
Merge pull request #866 from jfirebaugh/patch-1
...
[Docs] Note compatibility issue with `set -e` (#866 , #865 , #721 )
9 years ago
John Firebaugh
affe0baa95
Note compatibility issue with `set -e`
...
See discussion in #865 .
9 years ago
Jordan Harband
e1c84bae37
v0.29.0
9 years ago
Jordan Harband
a928a8f181
nvm exec: don't fall back to `.nvmrc` when the provided version is not installed.
9 years ago
Jordan Harband
937c29c95a
nvm run: use common code path for "ensure version installed"
...
Better than cb033adc6f
9 years ago
Jordan Harband
a0e94e16de
Make sure `nvm debug` doesn't use an overridden `sed`
9 years ago
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)
9 years ago
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.
9 years ago
Jordan Harband
cb033adc6f
nvm run: use common code path for "ensure version installed"
9 years ago
Jordan Harband
20f4acdd25
[installing] echo the URL that the tarball is being downloaded from.
9 years ago
Jordan Harband
41153e207d
Ensure `nvm use` output shows up *after* `prefix` check passes.
9 years ago
Jordan Harband
6b3c34313c
Fix `nvm_ls` when `$NVM_DIR` has spaces in it.
...
Mostly fixes #861 .
9 years ago
Jordan Harband
8541e2e1ee
Properly quote some possible variables with spaces.
9 years ago
Jordan Harband
1efc8b4dbe
Merge pull request #859 from fresheneesz/patch-1
...
[docs] Make sure to note "Install OR update"
9 years ago
fresheneesz
49f2c95013
Install OR update
9 years ago
Jordan Harband
06a21284ed
Protect against `cat` clobbering. Fixes #858 .
9 years ago
Jordan Harband
ebdcdc4363
v0.28.0
9 years ago
Jordan Harband
b805de80cb
Add `PREFIX` and `NPM_CONFIG_PREFIX` env vars to `nvm debug`
10 years ago
Jordan Harband
44f416d58f
Create and use `nvm_sanitize_path` for `nvm debug`
10 years ago