Gerhard Lazu
3e62657575
If cd fails, don't run pwd
...
Whitespace...
13 years ago
Tim Caswell
c371a3a26b
Merge pull request #109 from rafmagana/bash_completion
...
Bash completion
13 years ago
Rafael Magana
cfa81b49d1
bash completion
13 years ago
Tim Caswell
6e50bc0d78
Update README.markdown
13 years ago
Tim Caswell
6d58fcb8c0
Update README.markdown
13 years ago
Tim Caswell
5eb95fd641
Update README.markdown
13 years ago
Tim Caswell
cd7c58ff6a
Update README.markdown
13 years ago
Wtfcoder
a86262520a
remove continue from curl arg. nodejs.org doesnt seems to support continue, CDN effect perhaps?
13 years ago
Tim Caswell
60892c7b51
Merge pull request #105 from elf-pavlik/master
...
added note to README with solution to problem with version of python on some systems
13 years ago
elf Pavlik
0dd0224f2d
added note about solution to problem with version of python on systems like Arch Linux
13 years ago
Tim Caswell
dcd29296e9
Merge pull request #104 from prozacgod/master
...
NVM "need curl to proceed"
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
Tim Caswell
293061b8b7
Merge pull request #102 from chakrit/patch-1
...
`nvm version` and `nvm ls` not correctly reporting current version.
13 years ago
Chakrit Wichian
a49f77135a
`nvm version` and `nvm ls` not correctly reporting current version on both zsh and bash.
13 years ago
Tim Caswell
1eaf6e2db7
Merge pull request #65 from symposion/master
...
Fix for incorrect version sorting
13 years ago
Lucian Holland
b2683fdb11
Merge remote-tracking branch 'upstream/master'
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
Tim Caswell
ec2327fddd
Merge pull request #83 from jeffv/master
...
Fixes npm install to check version before running
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
Tim Caswell
d7cdabe8e2
Merge pull request #82 from mmalecki/run-help
...
[doc] Update help
13 years ago
Maciej Małecki
269bb008fc
[doc] Update help
13 years ago
Tim Caswell
a987f8e67d
Merge pull request #76 from mmalecki/run
...
[feature] Run command
13 years ago
Tim Caswell
0aa40a9c21
Merge pull request #81 from alessioalex/master
...
alias node for sudoers in documentation
13 years ago
alessioalex
629b51ebf1
alias node for sudoers in documentation
13 years ago
Tim Caswell
39dbc65104
Merge pull request #80 from alessioalex/master
...
Delete partials from /src [as we talked on IRC]
13 years ago
alessioalex
0700d14065
Remove downloads from /src if installation failed
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
Lucian Holland
fda6e7f8de
Rewrote version listing system
...
Now sorts correctly in all instances and prints highlights
even in sorted views. Also will output a list of matching versions
for commands of the form nvm ls 0.4* rather than just printing one
version. nvm version 0.4 still prints the single latest matching
version, however.
13 years ago
Lucian Holland
6f994715d6
Fixed incorrect sorting of versions
13 years ago
Tim Caswell
8dad534464
Remove broken wget emulation
13 years ago
Maciej Małecki
335a253323
[docs] Document `run` command
13 years ago
Maciej Małecki
09483f422e
[feature] Add `run` command
...
`run` command runs given node version without modyfing global state:
[maciej@PC07 nvm (run)]$ node --version
v0.4.12
[maciej@PC07 nvm (run)]$ nvm run 0.4.12
Running node v0.4.12
> process.version
'v0.4.12'
> [maciej@PC07 nvm (run)]$ nvm run 0.5.9
Running node v0.5.9
> process.version
'v0.5.9'
> [maciej@PC07 nvm (run)]$ node --version
v0.4.12
13 years ago
Tim Caswell
4692f496da
Merge pull request #71 from bronson/master
...
trivial: remove references to stable and latest
14 years ago
Scott Bronson
26b07fbdff
remove references to stable and latest
14 years ago
Scott Bronson
656549dd44
make "list" a synonym for "ls"
14 years ago
Tim Caswell
ff3e7d4025
Merge pull request #70 from mdiniz/master
...
Fix wrong full version matching
14 years ago
Marcelo Diniz
f939adbedb
Fix wrong full version matching
14 years ago
Tim Caswell
ac9a52886d
Remove support for sync latest and stable. I never liked them. Fork if you want them
...
Change-Id: I9092c5625305f54212625af0c16f7ead73a3d9fa
14 years ago
Tim Caswell
273aeeee73
Merge pull request #67 from mmalecki/already-installed
...
Don't allow installing already installed version.
14 years ago
Maciej Małecki
33c91398bf
Don't allow installing already installed version.
...
Trying to install already installed version causes misleading message
from curl and nvm:
$ nvm install v0.4.11
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot
resume.
nvm: install v0.4.11 failed!
Of course, resuming interrupted installs is still possible (script
checks for existance of `$VERSION` in `$NVM_DIR`, not `$NVM_DIR/src`).
14 years ago
Tim Caswell
087ce15ccd
Merge pull request #62 from welwood08/patch-1
...
uninstall should delete the extracted source files from the src directory
14 years ago
Will
92703939ee
uninstall should delete the extracted source files from the src directory, not nvm root
14 years ago
Tim Caswell
d6ef0c47a5
Merge pull request #60 from croach/master
...
Fix for Issue #59
14 years ago
Christopher Roach
fd1eb7559b
Added a fix for issue #59
14 years ago
Tim Caswell
c562a491ca
Merge pull request #57 from ghuntley/zsh
...
zsh compatibility fixes
14 years ago
Geoffrey Huntley
964e7c303c
updated shorthand for -# to --progress-bar on wget emulation function()
14 years ago
Geoffrey Huntley
1251684440
- version detection now works with zsh
...
- curl routine now compatible with zsh
- changed curl to use --progress-bar instead of unsafe shorthand (-#)
14 years ago
Tim Caswell
2ecd1fac63
Merge pull request #54 from evnm/add-uninstall-and-unalias
...
Add unalias and uninstall commands
14 years ago