jnlin
db7494494c
Add FreeBSD support
12 years ago
GPad
5811cb9e73
Resolved Issue #194
...
Issue #194
12 years ago
GPad
7226e5fb98
read the .nvmrc if present
12 years ago
GPad
bc9c82cb9f
read version from .nvmrc if not specified
12 years ago
Tim Caswell
f605581c7d
return not exit
12 years ago
Koen Punt
70e1b81ad3
Add exit code, fix #190
12 years ago
Yosiya Hinosawa
a6be969403
changed shasums file url because in v0.8.6 .txt.asc file is not available.
12 years ago
Yosiya Hinosawa
184f641730
fixed the condition for the binary package availability.
12 years ago
Yoshiya Hinosawa
7013372867
added -s (install from source) option.
12 years ago
A.J
5596054445
fixed wrong condition checking for 'shasum' (I'm using Mac OS 10.8.2)
...
line 188, `which shasum > /dev/null 2>&1` will be replaced by:
'/usr/bin/shasum > /dev/null 2>&1'
but, `/usr/bin/shasum` needs filename argument which is ommited and the
test results always 'false'.
12 years ago
Marsup
2662840064
Fix #172 on ZSH
12 years ago
Kosei Moriyama
1a08edd94e
support platforms which does not have shasum command
...
use sha1sum command if there is no shasum command
12 years ago
Sebastian Cohnen
0803e317e1
avoid environment pollution with NVM internals
12 years ago
hisanori
4ffd4bb34f
fix installation problem about v0.4
12 years ago
wlaurance
21f00362b0
Account for x86 architectures
12 years ago
wlaurance
a1d14ea5b8
Checksum support for binary downloads
...
Checksum support for source downloads
Closes #159
12 years ago
wlaurance
03b16d7a67
Account for uname -a i686
12 years ago
Joel Wietelmann
182e28f1ae
Making ARM stop downloading x86 binaries
12 years ago
Marsup
a0c4229abe
Support binary installs
...
Heavily inspired by isaacs/nave
13 years ago
Thomas Levine
a27d39139b
tests from readme
...
fast tests
alias
unalias
more alias tests
tests
document testing
warn not to run while testing
chmod +x deactivate
specify the version (commit) of urchin
installation test
run
tests for ls
switch unsetopt to the thing creationix has
rename tests
urchin log
adjust urchin version
13 years ago
Koen Punt
4a6c696074
Made string comparison also compatible for zsh
13 years ago
Nathan LaFreniere
a368227237
make ls-remote work with no parameters in linux
13 years ago
Nathan LaFreniere
e1be38f90d
fixup automatically prepending the v for remote requests
13 years ago
Nathan LaFreniere
9fb65cbf7b
add v back to ls-remote results
13 years ago
Nathan LaFreniere
693abf3173
make install use a different nvm_version to make not specifying the v avoid clobbering aliases
13 years ago
Nathan LaFreniere
e755c47d5a
made ls-remote actually usable
13 years ago
Nathan LaFreniere
3d65d55b5a
install requested version automatically if it isnt available
13 years ago
Nathan LaFreniere
6505c98461
add ls-remote
13 years ago
Nathan LaFreniere
ebff66649e
add v to version if user does not specify it to simplify commands
13 years ago
Nathan LaFreniere
07aaa91c9b
Revert "add /.nvm to NVM_DIR so we dont clutter up home directories"
...
This reverts commit a107b12d2a
.
13 years ago
Nathan LaFreniere
a107b12d2a
add /.nvm to NVM_DIR so we dont clutter up home directories
13 years ago
Bill Caputo
2adbe8bd7f
changed npm url to use https (script has moved)
13 years ago
Matthew Metnetsky
d68c38902a
Fix warning when unsetopt isn't found
13 years ago
Thomas Levine
9190297d5e
Hide errors from `which unsetopt`
...
Errors occurred when it was run in bash.
13 years ago
rummik
ad5242ea0b
Fix parse error in Zsh 4.3.17
13 years ago
Aravind Ramanathan
3bb2634d2f
Added check for unsetopt
...
unsetopt doesn't exist on OSX by default which causes `. nvm.sh` to
fail at that line.
13 years ago
Tim Caswell
e475d7e7ab
Fix bug introduced by pull # 125
13 years ago
fatshotty
f8c1822033
added additional options for compiling node
13 years ago
Tomas Sedovic
3dd6b29905
Supress ZSH "no matches found" error
...
Fixes issue #39
ZSH's default globbing behaviour differs from Bash. If there is no
match, ZSH itself will print the error message.
This means that piping a commantd's STDERR to /dev/null will not
hide it.
By unsetting the NOMATCH option we get a behaviour similar to Bash.
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years ago
Gerhard Lazu
d544d8e2eb
If you're using set -e (and why wouldn't you), this halts all execution
13 years ago
Gerhard Lazu
3e62657575
If cd fails, don't run pwd
...
Whitespace...
13 years ago
Wtfcoder
a86262520a
remove continue from curl arg. nodejs.org doesnt seems to support continue, CDN effect perhaps?
13 years ago
David Hagler
45051f4d43
changed the function to place the curl requirement where it belongs
13 years ago
David Hagler
7c3af21ebe
Removed default check for curl, and placed it into nvm function
...
This fixes issue with curl not being installed before nvm is initially sourced
and then curl subsequently being installed.
removed creation of global curl function (after error detected) which
overwrites the system tool, preventing execution of later installed
curl binary
13 years ago
Chakrit Wichian
a49f77135a
`nvm version` and `nvm ls` not correctly reporting current version on both zsh and bash.
13 years ago
Caio Romão
53cfd2dd9b
Avoid carrying over test status when no node version is installed
...
When sourcing nvm.sh, if there are no version of node installed the command
`nvm ls default` silentry fails, however it's return status code (`$?`) is
still set to non-zero, which means an error.
This patch simply avoids this issue by making sure the status code after
sourcing is ok so that people that put the returned status codes in their
command line prompt don't get an error every time `nvm.sh` is sourced.
13 years ago
Jeffrey D. Van Alstine
18f4064003
Fixes npm version check for node v0.2.0, v0.2.1 and v0.2.2
13 years ago
Jeffrey D. Van Alstine
990ad81419
Check if node v0.1.x or v0.2.x before npm installs
13 years ago
Maciej Małecki
269bb008fc
[doc] Update help
13 years ago
Maciej Małecki
53e1764a8a
[feature] Allow passing additional arguments to node
...
For example:
nvm run v0.6.0 myApp.js
13 years ago