Commit Graph

77 Commits (d68c38902a491943841694cf5cce82dad0053f19)

Author SHA1 Message Date
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 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
Carter Thaxton d3b5853454 Set MANPATH on nvm use and deactivate 2010-12-11 20:19:23 -08:00
Tim Caswell 077a661696 zsh prompts get interfered with environment variables that are named the
directory you are in. Don't define START unless we need to.

(Thanks cgcardona)

Change-Id: I256a4db0af9b40b64bc0fe8d6e393f614132db68
2010-12-10 12:52:58 -08:00
Tim Caswell 924d965964 Clean up npm integration a little bit
Change-Id: I849f1056d0188aef264777e18270728b1535f61c
2010-12-10 12:43:27 -08:00
Tim Caswell a078d6427b Install npm automatically 2010-12-10 11:42:19 -08:00
Tim Caswell 91d2be5179 Trim and update nvm 2010-12-10 11:32:16 -08:00
Tim Caswell e0bbea635f Don't make the function definition file executable 2010-05-14 10:41:45 -07:00
Tim Caswell fefa00fac8 Merge branch 'master' of http://github.com/isaacs/nvm 2010-05-14 10:39:56 -07:00
Tim Caswell 359a83e6c5 Use NVM_PATH instead of NODE_PATH 2010-05-14 10:39:54 -07:00
isaacs 06e882b332 Add a package.json so that npm can install this. 2010-05-12 21:17:52 -07:00
Tim Caswell 7df245c569 Remove clone and update, these are better done by hand, add listlibs and a way to use the latest stable version 2010-05-06 18:30:27 -05:00
Tim Caswell 2527ff6b1f Use lib instead of modules for certain scripts that assume ../lib from the /bin folder. 2010-05-04 23:33:42 -05:00
Tim Caswell d67c7011f4 Have two module installers, one for linked modules (for ones you actively develop) and one that copies the module so that the original source tree can be deleted. 2010-04-26 12:50:18 -05:00
Tim Caswell 09e7c3227b Add a NODE_BIN env variable to the current bin folder so installers know where to put their stuff. Also add a simple installer for projects without one, but that follow the standard layout. 2010-04-26 12:40:57 -05:00
Tim Caswell 93e28c3b2f Add per/version NODE_PATH and a deactivate command to return everything back to normal. 2010-04-26 12:40:57 -05:00
Tim Caswell 54495e56ae Fix a couple bugs and enable the --debug flag for HEAD version. 2010-04-20 18:51:07 -05:00
Tim Caswell 53e64fc3b5 Put a star by the active version in "nvm list" and don't allow "nvm use" to set a version that isn't installed. 2010-04-19 10:46:58 -05:00
Tim Caswell 47d5982ef8 Update to replace an old nvm path if it exists already in $PATH. 2010-04-19 10:22:28 -05:00
Tim Caswell 4d2e6045eb Add "help" to the help message. 2010-04-15 12:22:16 -05:00
Tim Caswell 6c243e502e Make the gist work as it's own repo. 2010-04-15 12:16:23 -05:00
creationix cb87c313a9 2010-04-15 09:53:39 -07:00
creationix d5b8294497 2010-04-15 09:20:27 -07:00
creationix 4f4dec1c89 2010-04-15 09:20:00 -07:00
creationix 9cd2dd0c37 2010-04-15 09:13:33 -07:00