npm操作 CarlosXie 2023-04-26 110 阅读1分钟 查询安装的全局包版本 npm -g outdated 更新全局包 更新全部 npm update -g 更新指定包 npm update -g 包名 如: npm update -g cnpm