
-
通过config命令
config set registrynpm info underscore``` 123(如果上面配置正确这个命令会有字符串response)* 命令行指定```npm --registry https://registry.npm.taobao.org info underscore -
编辑 ~/.npmrc,加入下面内容:
registry = https://registry.npm.taobao.org
(推荐使用,一次配置,一劳永逸。)

通过config命令
|
|
编辑 ~/.npmrc,加入下面内容:registry = https://registry.npm.taobao.org
(推荐使用,一次配置,一劳永逸。)
近期评论