npm

github 无法打开的问题

1. 百度搜索’查询网址dns,或者’可以直接输入网址https://tool.chinaz.com/dns/
2. 搜索 github.com
3. 将检测记录id添加到hosts文件中


如下:

140.82.114.3 github.com
13.229.188.59 github.com
140.82.112.4 github.com

# github 下载单个页面文件

npm install git-down-repo -g // 安装全局

gitdown url

url指的是github项目的浏览器url地址

# 初步方案:手动修改 host C:\Windows\System32\drivers\etc\host

  1. 下载 githubhost https://raw.hellogithub.com/hosts
  2. 追加到最后面 缺点:需要隔一段时间下载一次更新

成熟方案: 3. https://github.com/oldj/SwitchHosts 新建加速配置:https://raw.hellogithub.com/hosts

# Watt Toolkit 工具,游戏加速

官网 (opens new window)

# github 加速访问工具 -非常有用

github (opens new window)

https://github.com/dotnetcore/fastgithub/releases
上次更新: