---
title: "npm 镜像"
author: "sech"
date: "2017-11-13T08:15:11Z"
tags: []
categories: ["Web前端"]
slug: "npm"
draft: false
lastmod: "2017-11-13T08:23:53Z"
id: 2399486
url: "https://sech.iteye.com/blog/2399486"
---

```
http://registry.cnpmjs.org

http://registry.npm.taobao.org
```

 

设置：

```
npm config set registry http://registry.npm.taobao.org
```

 

```
$ nrm ls
 
* npm -----  https://registry.npmjs.org/
  cnpm ----  http://r.cnpmjs.org/
  taobao --  https://registry.npm.taobao.org/
  nj ------  https://registry.nodejitsu.com/
  rednpm -- http://registry.mirror.cqupt.edu.cn
  skimdb -- https://skimdb.npmjs.com/registry
```