eg:
https://update.code.visualstudio.com/commit:af28b32d7e553898b2a91af498b1fb666fdebe0c/server-linux-x64/stable
在服务器端,进入下面的目录,获取commit id
ls ~/.vscode-server/bin
commit id:af28b32d7e553898b2a91af498b1fb666fdebe0c
下载网址输入:
https://update.code.visualstudio.com/commit:${commit id}/server-linux-x64/stable
然后将安装包移动到linux中
输入:cd ~/.vscode-server/bin/$COMMIT_ID
tar -xvzf vscode-server-linux-x64.tar.gz --strip-components 1
解压完成之后,重新打开vscode即可解决。