Browse files

alias for install

Because @SlexAxton is too nice a guy to actually troll him.
  • Loading branch information...
1 parent 632315b commit 889103827cf99e1e7a1e281ecc3a4d041e7e1e80 @isaacs isaacs committed Oct 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/npm.js
@@ -87,6 +87,7 @@ var commandCache = {}
, "ll" : "ls"
, "ln" : "link"
, "i" : "install"
+ , "isntall" : "install"
, "up" : "update"
, "c" : "config"
, "info" : "view"

5 comments on commit 8891038


Haha! Nice! :)

Do you really think it is worth it? If I type npm to list the commands available I see isntall there and think it's an error.

It's the first time I noticed it, but I guess we could either remove it or filter it from the usage help message.

Or just ignore my comment at all if you think it's nice as it is today and there's no reason to change this :)

Usage: npm <command>

where <command> is one of:
    add-user, adduser, apihelp, author, bin, bugs, c, cache,
    completion, config, ddp, dedupe, deprecate, docs, edit,
    explore, faq, find, find-dupes, get, help, help-search,
    home, i, info, init, install, isntall, issues, la, link,
    list, ll, ln, login, ls, outdated, owner, pack, prefix,
    prune, publish, r, rb, rebuild, remove, repo, restart, rm,
    root, run-script, s, se, search, set, show, shrinkwrap,
    star, stars, start, stop, submodule, t, tag, test, tst, un,
    uninstall, unlink, unpublish, unstar, up, update, v,
    version, view, whoami

@henvic Sounds like #2933.

Please sign in to comment.