Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS #15

Open
Ccixyj opened this issue Aug 31, 2018 · 1 comment
Open

NodeJS #15

Ccixyj opened this issue Aug 31, 2018 · 1 comment

Comments

@Ccixyj
Copy link
Owner

Ccixyj commented Aug 31, 2018

nodejs-new-pantone-black

@Ccixyj
Copy link
Owner Author

Ccixyj commented Aug 31, 2018

1. 淘宝镜像的使用

  • 临时使用
    npm --registry https://registry.npm.taobao.org install express

  • 持久使用
    npm config set registry https://registry.npm.taobao.org
    配置后可通过下面方式来验证是否成功
    npm config get registry 或者 npm info express

  • 通过cnpm使用
    npm install -g cnpm --registry=https://registry.npm.taobao.org
    配置后使用命令 cnpm install express 查看是否安装成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant