Isaac Wolkerstorfer
2d4c9b0846
Merge remote-tracking branch 'origin/master'
...
Conflicts:
nvm.sh
2011-02-25 20:30:08 +01:00
Isaac Wolkerstorfer
f50e7b1d05
Merge branch 'versions'
2011-02-25 20:14:47 +01:00
Isaac Wolkerstorfer
cd3304548f
Fix some syntax issues
2011-01-29 16:24:42 +01:00
Isaac Wolkerstorfer
45b89ab396
Create alias dir on demand
2011-01-25 20:18:07 +01:00
Isaac Wolkerstorfer
57d62762e1
Don't overwrite existing NVM_DIR vars
2011-01-25 17:29:49 +01:00
Isaac Wolkerstorfer
8ec6fb22fd
Create alias dir on demand
2011-01-25 17:12:13 +01:00
Isaac Wolkerstorfer
3d0082fa60
Suppress unnecessary output
2011-01-24 17:11:46 +01:00
Isaac Wolkerstorfer
85566c9682
Merge curl/wget and version changes
2011-01-22 21:52:27 +01:00
Isaac Wolkerstorfer
c060a287d0
Use curl or wget, whichever is available
...
Also spit out an error message if we have neither.
2011-01-22 21:07:27 +01:00
Isaac Wolkerstorfer
590b283e65
Change version() to nvm_version()
...
It's a bit less conflict-y
2011-01-22 20:54:15 +01:00
Isaac Wolkerstorfer
a7328b3711
Add output to sync if stable/latest changes
2011-01-22 19:31:20 +01:00
Isaac Wolkerstorfer
861766372d
Add a special "default" alias
...
If you set a "default" alias, it will automatically be loaded when you
start a new shell.
2011-01-22 19:16:24 +01:00
Isaac Wolkerstorfer
f10ac8e8c3
Fix README for ls command
2011-01-22 19:13:02 +01:00
Isaac Wolkerstorfer
a77c632e2a
Add aliases to versions
...
Aliases are stored as plaintext files in the $NVM_DIR/alias dir.
They may store either an explicit version (v0.3.6) or an implied version
("latest"). The latter is a "moving target", and thus possibly
dangerous, but can be useful, too.
2011-01-22 19:12:13 +01:00
Isaac Wolkerstorfer
0f6680e8b7
Use version descriptors for 'install' and 'use'
...
Allows things like "nvm install latest" or "nvm use stable" or "nvm use 0.2"
2011-01-22 17:57:08 +01:00
Isaac Wolkerstorfer
b2c6be9e08
Show all available versions in ls
...
Adds a cache of all versions available on nodejs.org using simple empty files as placeholders. When a new version is installed, it will replace the placeholder with a directory.
This makes it easier for users to see what versions are available for install, and what the latest and stable versions are.
2011-01-22 17:48:57 +01:00