# 查看版本
npm -V
# 初始化
npm init
# 下载包
npm install <包名>
# 更新包
npm update <包名>
# 删除包
npm uninstall <包名>
# 修改包下载源
npm install -g cnpm --registry=https://registry.npmmirror.com
npm常用命令
于 2023-03-22 09:03:05 首次发布
# 查看版本
npm -V
# 初始化
npm init
# 下载包
npm install <包名>
# 更新包
npm update <包名>
# 删除包
npm uninstall <包名>
# 修改包下载源
npm install -g cnpm --registry=https://registry.npmmirror.com