最終更新:2024-06-10 (月) 12:14:24 (251d)
npm
Top / npm
Node Packaged Modules
package manager for node.
パッケージ数
- 20000以上
よく使うコマンド
npm init
npm install <package> /npm i
- Install a package
- パッケージを指定しない場合はpackage.jsonに記載されたパッケージが一括でインストールされる
npm update
npm search
パラメータ
- -dは--loglevel infoの略
- -sは--saveの略 package.jsonののdependencies欄に書き込み
- -Dは--save-devの略 package.jsonののdevDependencies欄に書き込み
package.json
One Line Install
curl http://npmjs.org/install.sh | sh
npm/インストール先
コマンド
- npm access?
- npm adduser?
- npm bin
- npm bugs?
- npm build?
- npm bundle?
- npm c?
- npm cache?
- npm completion?
- npm config
- npm ddp?
- npm dedupe?
- npm deprecate?
- npm dist-tag?
- npm docs?
- npm doctor?
- npm edit?
- npm explore?
- npm get?
- npm help
- npm help-search?
- npm i
- npm init
- npm install
- npm install-test?
- npm it?
- npm link?
- npm list
- npm ln?
- npm login?
- npm logout?
- npm ls
- npm outdated
- npm owner?
- npm pack?
- npm ping?
- npm prefix?
- npm prune?
- npm publish?
- npm rb?
- npm rebuild?
- npm repo?
- npm restart?
- npm root?
- npm run
- npm run-script
- npm s?
- npm se?
- npm search
- npm set?
- npm shrinkwrap?
- npm star?
- npm stars?
- npm start
- npm stop
- npm t?
- npm tag?
- npm team?
- npm test
- npm tst?
- npm un?
- npm uninstall
- npm unpublish?
- npm unstar?
- npm up?
- npm update
- npm v?
- npm version?
- npm view?
- npm whoami?
man
https://docs.npmjs.com/cli/npm
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: /Users/tokkyo/.npmrc or on the command line via: npm <command> --key value Config info can be viewed via: npm help config npm@3.10.10 /usr/local/lib/node_modules/npm
Ubuntu/パッケージ
コマンド
依存
- ca-certificates
- node-abbrev?
- node-agent-base?
- node-ansistyles?
- node-aproba?
- node-archy?
- node-asap?
- node-cacache?
- node-chalk?
- node-chownr?
- node-cli-table3?
- node-colors?
- node-columnify?
- node-debug?
- node-depd?
- node-emoji-regex?
- node-encoding?
- node-glob?
- node-got?
- node-graceful-fs?
- node-gyp
- node-hosted-git-info?
- node-https-proxy-agent?
- node-ini?
- node-ip?
- node-ip-regex?
- node-json-parse-better-errors?
- node-jsonparse?
- node-lru-cache?
- node-minimatch?
- node-minipass?
- node-mkdirp?
- node-ms?
- node-negotiator?
- node-nopt?
- node-normalize-package-data?
- node-npm-bundled?
- node-npm-package-arg?
- node-npmlog?
- node-once?
- node-promise-retry?
- node-promzard?
- node-read?
- node-read-package-json?
- node-rimraf?
- node-semver?
- node-ssri?
- node-string-width?
- node-strip-ansi?
- node-tar?
- node-text-table?
- node-validate-npm-package-license?
- node-validate-npm-package-name?
- node-which?
- node-wrappy?
- node-write-file-atomic?
- node-yallist?
- nodejs