Mac 访问github慢

  1. 访问 http://github.global.ssl.fastly.net.ipaddress.com/#ipinfo 获取github的IP地址
  2. 在/etc/hosts中加入查询到的IP和域名 (需要root 权限)
  3. 在终端在输以下指令刷新DNS(需要root 权限)
    sudo killall -HUP mDNSResponder;say DNS cache has been flushed
    

或者也可以参见懒人版代码

其他Mac相关问题:
brew update慢的解决方法
conda install慢的解决方法

相关文章:

  • 2021-07-27
  • 2021-04-06
  • 2021-08-19
  • 2021-09-26
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
相关资源
相似解决方案