[FE] yarn, npm 切换镜像源

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

yarn 设置命令如下,会修改 ~/.yarnrc 内容。

$ yarn config set registry https://registry.yarnpkg.com

 

npm 设置命令如下,会修改 ~/.npmrc 内容。

$ npm config set registry https://registry.npmjs.org

 

Link:https://www.cnblogs.com/farwish/p/13799936.html

posted on 2020-10-11 22:43  ercom  阅读(142)  评论(0编辑  收藏  举报