npm—常用命令

目录

一、概述

二、详解


一、概述

常用的npm操作命令。

二、详解

1、设置、查看npm的registry配置项

// 淘宝镜像
> npm config set registry https://registry.npm.taobao.org

// npm原始数据源
> npm config set registry https://registry.npmjs.org     

// 查看npm的registry配置项
> npm config set registry

2、安装nrm,管理数据源

n

猜你喜欢

转载自blog.csdn.net/weixin_42472040/article/details/111485752