Skip to content

Commit

Permalink
update help and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed Mar 23, 2013
1 parent dc6c09a commit 078f92a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,21 @@ rbenv, but for node.
## Usage

```
» nodenv help
Usage: nodenv <command> [<args>]
Some useful nodenv commands are:
exec Execute a command from a particular NodeJS version.
shell Set NODENV_VERSION for the lifetime of a shell.
local Persist the preferred NodeJS version in the cwd.
global Persist the preferred NodeJS default version.
install Install a version of NodeJS.
uninstall Uninstall a version of NodeJS.
version Show the current NodeJS version.
versions Display all versions of NodeJS installed in `${NODENV_ROOT}/versions/*'.
rehash Rehash nodenv shims (run this after installing executables)
See `nodenv help <command>' for information on a specific command.
```

## Credits
Expand Down
2 changes: 1 addition & 1 deletion libexec/nodenv-help
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ if [ -z "$1" ] || [ "$1" == "nodenv" ]; then
[ -z "$usage" ] || exit
echo
echo "Some useful nodenv commands are:"
print_summaries exec global local install shell uninstall version versions
print_summaries exec shell local global install uninstall version versions rehash
echo
echo "See \`nodenv help <command>' for information on a specific command."
else
Expand Down

0 comments on commit 078f92a

Please sign in to comment.