How to run VS Code in the browser with code-server
Updated 11/29/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 pricingRelated tutorials
Error tracking for your applications with GlitchTip
Catch production exceptions with the Sentry SDKs on a small server: the project, the DSN, alerts and uptime.
Updated 11/29/2026Dev environmentsTest your application's email with smtp4dev
Send the email from Laravel, WordPress, Node or Python to a test SMTP server and read it in a web inbox, without it ever reaching real customers.
Updated 11/29/2026Dev environmentsHow to build a CI/CD pipeline
Automate testing and deploying your code on every change, with a CI/CD pipeline on your server.
Updated 11/29/2026