Dojo
最新
最佳
搜索
订阅
解道Jdon
领域驱动设计
架构设计
热点话题
GitHub开源免费源代码
产品经理
数据工程
微服务架构文章排行榜
RUST语言
go语言文章排行榜
DevOps文章排行榜
数据科学
幽默模因
更多话题
Visual Studio Code 服务器现在可以自托管了!
22-07-05
banq
OpenVSCode Server 还提供非 docker 指令。但是,它仅适用于 Linux。
它是全功能的,如 Visual Studio Online/Visual Studio Codespace/GitHub Codespace(/其他数百个微软将重命名的名称),意味着它在服务器上有文件系统和终端访问,不像vscode.dev/github.dev
假设在 Linux x64 上:
在浏览器中打开
https://update.code.visualstudio.com/api/commits/insider/server-linux-x64-web
,你会看到一个 JSON 数组包含一堆哈希值,记下第一个(最新) , 说0e3304bca9e862eddc7e437e2bab8a4a4a4f33c9
下载https://az764295.vo.msecnd.net/insider/{hash}/vscode-server-linux-x64-web.tar.gz,替换{hash}成上面那个,比如
https://az764295.vo.msecnd.net/insider/0e3304bca9e862eddc7e437e2bab8a4a4a4f33c9/vscode-server-linux-x64-web.tar.gz
将下载的文件解压到你喜欢的地方
假装阅读许可条款。
运行bin/code-server-insiders --accept-server-license-terms
在浏览器中打开链接
猜你喜欢
其他人在看