NotePublic/Software/Applications/VSCode/VSCode_Server_说明.md

664 B

VSCode Server 说明

Run VS Code on any machine anywhere and access it in the browser.

GitHub

安装方法:

# Manjaro
yaourt -S code-server

通过 code-server 命令可直接执行,其 --help 参数可以查看帮助信息。

code-server 使用 yaml 作为配置文件格式,配置文件在:

~/.config/code-server/config.yaml、

bind-addr: 0.0.0.0:8080
auth: password
password: 1234567890
cert: false

配置参数与 --help 中列出的参数一致。

服务启动和使能命令如下:

sudo systemctl start code-server@$USER
sudo systemctl enable code-server@$USER