Loading... ### 1. 设置npm私服 ```powershell // 查询源 npm config get registry // 更换私服源 npm config set registry http://koufengqi.cn:9510/repository/npm-public/ // 恢复官方源 npm config set registry https://registry.npmjs.org // 删除注册表 npm config delete registry ``` ### 2. 登陆私服 ```powershell npm login --registry=http://koufengqi.cn:9510/repository/npm-public/ ``` 最后修改:2024 年 09 月 03 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏