Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # IT:AD:NPM:HowTo:Install # * [[./|(UP)]] * See also: <callout type="Navigation" class="small"> * [[IT/AD/NPM/HowTo/Upgrade to latest version/]] * [[IT/AD/Node.JS/HowTo/Install common Node.JS Tools]] * [[IT/AD/Bower/]] * [[IT/AD/Grunt/]] </callout> <panel title="Summary"> NPM is *"Node Package Manager"* and is installed with [[IT/AD/Node.JS/]]. But you need to update it after installing [[IT/AD/Node.JS/]]. </panel> ## Process ## * Go to [https://npmjs.org/](https://npmjs.org/) Update it by opening a [[IT/AD/CLI/]]: <sxh> npm update -g npm </sxh> There is no MAN (Unix) on Windows, but `search` works, although the first time it has to download files: <sxh> 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, la, link, list, ll, ln, login, ls, outdated, owner, pack, prefix, prune, publish, r, rb, rebuild, remove, restart, rm, root, run-script, s, se, search, set, show, shrinkwrap, star, start, stop, submodule, tag, test, tst, un, uninstall, unlink, unpublish, unstar, up, update, version, view, whoami npm <cmd> -h quick help on <cmd> npm -l display full usage info npm faq commonly asked questions npm help <term> search for help on <term> npm help npm involved overview Specify configs in the ini-formatted file: C:\Users\Sky\.npmrc or on the command line via: npm <command> --key value Config info can be viewed via: npm help config npm@1.1.63 C:\Program Files\nodejs\node_modules\npm C:\Users\Sky>npm search express npm WARN Building the local index for the first time, please be patient npm http GET https://registry.npmjs.org/-/all </sxh> ## Node Version Manager (NVM) Node is being release often. So we need a sandbox to protect us from the volatility. * Go to [https://github.com/creationix/nvm](https://github.com/creationix/nvm) * Using [[IT/AD/GIT/]], clone the repository. /home/skysigal/public_html/data/pages/it/ad/npm/howto/install/home.txt Last modified: 2023/11/04 02:25by 127.0.0.1