应用台导航页
  • 主页
  • 博客
  • 知识库
  • 工作台
  • 集萃
  • 友链
  • 关于
国内非科学上网环境下安装开发工具不完全指南
工具windows镜像科学上网clashV2EX 镜像

国内非科学上网环境下安装开发工具不完全指南

频繁更换工作电脑,每次都得重新配置开发环境,但碍于工作性质,又不方便科学上网,只得到处搜罗镜像之类的解决办法,在此进行整理分享。

生产力
更新于 2025-09-12
— 2013 字
返回

使用 watt toolkit 进行网络加速

加速后能正常访问 github、onedrive、vercel 等网页内容,非常实用。

Watt Toolkit 通过本地代理探测并选择 GitHub、OneDrive 等目标的最优 IP,同时利用修改 hosts 文件实现域名直连,从而加速访问。

注意:加速后使用 git 同步远端仓库内容时需要修改配置,否则会导致报错:

git config --global http.sslVerify false

vscode 下载

非科学上网时,下载 vscode 不时也无法连接。可以将下载地址中的 https://az764295.vo.msecnd.net 替换成 https://vscode.cdn.azure.cn

github

  • https://sites.ipaddress.com/github.com 查看 github ip 地址

文件下载

即使用 watt toolkit 加速, github 的许多文件下载地址也是无法连通的,需要通过一些镜像来下载

  • https://github.akams.cn/
  • https://gh-proxy.com/

拉取/推送代码

非科学上网环境下可以通过 ssh 方式来进行代码库同步操作,这需要ssh-keygen -t rsa 生成密钥,将公钥添加到 https://github.com/settings/keys,但最近也非常不稳定,容易无法连接。

watt toolkit 开启了代理之后,通常命令行也能生效,可以通过 https 拉取代码,不过要手动信任其根证书或者禁用 https 验证;如果 Git 默认不继承系统代理设置,则手动配置代理。

powershell
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
git config --global http.sslVerify false

npm

设置淘宝镜像

bash
npm config set registry https://registry.npmmirror.com/
bash
pnpm config set registry https://registry.npmmirror.com/
  • 腾讯云镜像源: http://mirrors.cloud.tencent.com/npm/
  • 华为云镜像源:https://mirrors.huaweicloud.com/repository/npm/

yarn 安装后运行提示 ... 因为在此系统上禁止运行脚本...:terminal 管理员运行

sharp 安装问题

sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-win32-x64.tar.br

bash
yarn config set sharp_binary_host "https://npmmirror.com/mirrors/sharp"
yarn config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips"
powershell
set-executionpolicy remotesigned

官方镜像 https://registry.yarnpkg.com

社区/论坛/百科镜像

  • V2EX 镜像:V2EX
  • V2EX-非常论坛
  • Wikipedia (TheFreeDictionary.com mirror)

微软应用商店安装包检索

MS store 的连接也不稳定,可能安装不了应用,需要从 https://store.rg-adguard.net/ 下载安装包安装,例如 clipchamp 的更新等

clash 订阅源

唉,不说了,还是他娘的翻墙方便。

https://www.xrayvip.com/free.yaml
https://clashnode.cc/uploads/2024/12/1-20241210.yaml
https://free-clash-meta.github.io/uploads/2025/02/0-20250203.yaml
https://flclashnode.github.io/uploads/2025/02/0-20250202.yaml
dors logoDors

Dors 是花野猫开发为知识工作者打造的数字花园应用,包含的博客、个人记事本、及其他实用功能。

花园

  • 花坛——博客
  • 果园——知识库

工坊——作者开发的实用工具

  • 小记
  • 秒切——一键按秒分割视频
  • 中国重点高校地理位置可视化网站
  • 中国行政区划数据查询平台
  • excel 重命名工具

misc

  • 生活章程
  • 画廊
  • just have fun!

© 2022 - present. All Rights Reserved.滇ICP备2025063395号-1

花野猫打造