在Windows上使用npm命令安装软件
首先下载node-v10.16.0-x64.msi软件包
下载地址:
http://39.134.253.37/cache/112.29.152.27/dl.softmgr.qq.com/original/Development/node-v10.16.0-x64.msi?mkey=5d3846dbb7d77e97&f=8eb5&cip=183.215.88.98&proto=http&ich_args2=82-24214109011795_4aca01840b23d61a5838f78162eb5d5e_10004303_9c89622fdec4f4d79f39518939a83798_3b11011d77fb9e08191d401c49874ba2
安装过程:
一路按NEXT就行
npm命令1.JPG
打开命令窗口:
若出现以下内容,就证明软件安装成功了。
PS C:\Users\admin\Desktop> npm --help
Usage: npm <command>
where <command> is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami
npm <command> -h quick help on <command>
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\admin\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@6.9.0 C:\Program Files\nodejs\node_modules\npm
PS C:\Users\admin\Desktop>
软件安装:
用search子命令搜索所有有关“qq”的软件包
PS C:\Users\admin\Desktop> npm search qq
NAME | DESCRIPTION | AUTHOR | DATE | VERSION | KEYWORDS
qq | Out of service - A… | =kriskowal | 2012-06-28 | 0.3.5 |
@tarojs/taro-qq | Taro qq framework | =defaultlee… | 2019-07-19 | 1.3.10 | taro
angular-qq-maps | Angular QQ Maps… | =cipchk | 2018-12-04 | 7.0.0 | angular-qq-maps ng2
qq-wechat-emotion-parser | QQ、微信表情符号解… | =harttle… | 2017-04-12 | 1.0.4 | QQ 微信 表情
qq-mta | Node.js SDK for QQ… | =yourtion | 2017-06-29 | 1.1.0 | MAT qq mta Mobile A
cq-websocket | A Node SDK for… | =momocow | 2019-07-23 | 2.0.2 | CoolQ websocket
blear.classes.social-shar | 社会化分享类 | =cloudcome | 2016-12-19 | 1.0.7 | blear classes social-shar
e | | | | |
qq-env | Easy environment… | =singmyr | 2017-03-02 | 1.0.0 | env environment eas
qqlevel | Imitate QQ Level | =w-xuefeng | 2019-07-22 | 1.0.4 | qq level
qq-comments | comment component… | =supervergil | 2019-04-23 | 2.0.4 | qq comments comment
l-passport | koa middleware and… | =zhulinwei | 2019-05-11 | 1.1.5 | oauth2 passport qq
@ionjs/core | Yet another QQ bot… | =awaiting… | 2019-03-09 | 0.6.5 | bot-framework coolq
qq-music-img-generator | QQ music… | =fanweixiao | 2015-03-30 | 1.0.0 | qq music sniffer ar
organism-react-qq-video | QQ Video | =hillliu | 2019-02-22 | 0.0.1 | react
@fxss5201/wx-qq-share | wx-qq-share定制微信… | =fxss5201 | 2019-06-27 | 0.1.4 |
wx-qqface | 提供对qq表情、字符… | =uojo | 2019-02-22 | 0.2.0 | qqface qq face wx
passport-qq-token | QQ token… | =sunnycmf | 2015-12-16 | 1.0.0 | passport qq auth au
qqmusicdownload | 批量获取qq音乐下载… | =huaji-millent | 2019-01-16 | 1.0.0 |
emoji-face | emoji表情 qq 表情 | =render | 2016-11-24 | 1.1.0 | emoji 表情 qq 表情 emoji js
passport-qq | qq authentication… | =qdsang | 2017-09-26 | 0.1.0 | passport qq auth au
PS C:\Users\admin\Desktop>
使用install子命令安装软件包,安装时记得使用软件包的全名
PS C:\Users\admin\Desktop> npm install qqmusicdownload
就这样吧!
网友评论