더북(TheBook)

B.2.2 도움말

-h 옵션으로 실행 가능한 명령어를 조회할 수 있습니다.

실행 가능한 명령어

> npm -h

Usage: npm <command>

where <command> is one of:

    access, adduser, bin, bugs, c, cache, completion, config,

    ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,

    help, help-search, i, init, install, install-test, it, link,

    list, ln, login, logout, ls, outdated, owner, pack, ping,

    prefix, prune, publish, rb, rebuild, repo, restart, root,

    run, run-script, s, se, search, set, shrinkwrap, star,

    stars, start, stop, t, tag, team, test, tst, un, uninstall,

    unpublish, unstar, up, update, v, version, view, whoami

npm <cmd> -h     quick help on <cmd>

npm -l           display full usage info

npm help <term>  search for help on <term>

npm help npm     involved overview

Specify configs in the ini-formatted file:

    C:\Users\microservice\.npmrc

or on the command line via: npm <command> --key value

Config info can be viewed via: npm help config

npm@3.10.10 C:\Program Files\nodejs\node_modules\npm


신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.