查看仓 npm config get registry 设置仓 npm config set registry XXX 升级对应的依赖 npm update XXX 如果未指定对应的软件包名,那么将更新(本地或者是全局的)软件包 查看指定依赖所有的版本 npm view XXX versions