Github慢 Posted on 03-10-2021 Edited on 03-14-2021 Views: Ubuntu上修改Hosts有问题service networking restart 修改hosts的方法在腾讯云上不行,没有network服务? MacOS修改Host去DNS查找最小TTL的响应IP 修改/etc/hosts 刷新DNS缓存 1dscacheutil -flushcache 备用方案将仓库的地址手动改为github的镜像地址再进行clone. https://github.com.cnpmjs.org/