解决vscode下载速度慢的方法

  • Windows

点击https://code.visualstudio.com/docs/?dv=win,复制浏览器弹出的下载地址,类似于

https://az764295.vo.msecnd.net/stable/3c4e3df9e89829dce27b7b5c24508306b151f30d/VSCodeUserSetup-x64-1.55.2.exe

/stable前的https://az764295.vo.msecnd.net替换为https://vscode.cdn.azure.cn,最后替换好的网址类似于

https://vscode.cdn.azure.cn/stable/3c4e3df9e89829dce27b7b5c24508306b151f30d/VSCodeUserSetup-x64-1.55.2.exe

使用这个链接下载,可以极大提高下载速度

  • Linux

直接点击对应版本的安装包下载安装即可

RPM包:https://go.microsoft.com/fwlink/?LinkID=760867

DEB包:https://go.microsoft.com/fwlink/?LinkID=760868

原文地址:https://www.cnblogs.com/biem/p/14334722.html