CloudLinux.ro
Dev environments

How to run VS Code in the browser with code-server

Updated 7/20/2026

code-server runs the VS Code editor on your server and you access it from a browser. You code from any device, and the environment stays on the server.

1. Install with one click

Pick code-server from the app catalog when creating the server.

Or manually

curl -fsSL https://code-server.dev/install.sh | sh
systemctl enable --now code-server@root

2. Access the editor

code-server listens on port 8080 by default. The password is in ~/.config/code-server/config.yaml.

3. Securing it, mandatory

  • Serve only over HTTPS through a reverse proxy.
  • Use a strong password, the editor has full access to the server.
  • Restrict access with the firewall.

Why it is useful

  • The same dev environment from any device, even a tablet.
  • The server's resources do the builds, not your laptop.
  • You run and test next to the databases and services on the same server.

Put this guide into practice on your own VPS

EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.

See pricing

Related tutorials