nodejs。安装

 

1、先使用 npm list --depth=0 -global 检查是否安装了 cnpm

 

1、安装cnpm

npm install -g cnpm --registry=http://registry.npmmirror.com

 

1、查看镜像地址

npm config get registry

 

1、清理缓存

npm cache verify

posted @ 2024-04-15 10:59  五百万  阅读(5)  评论(0编辑  收藏  举报