brew install code-server brew services start code-server
Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
Install:
curl -fsSL https://code-server.dev/install.sh | sh -s --
# start service
sudo systemctl enable --now code-server@$USER
# status & logs
sudo systemctl status [email protected]
journalctl -u [email protected]
# stop
sudo systemctl stop [email protected]
# check config
cat ~/.config/code-server/config.yaml
Setup code-server with caddy and lets encrypt:
sudo apt install caddy
vim /etc/caddy/Caddyfile
sudo systemctl restart caddy.service