About code-server
code-server runs VS Code on a server and streams it to your browser. You get the familiar editor, terminal and extensions on any device, while the code, compilers and heavy builds stay on the remote machine. Coder develops it under the MIT license.
A CloudSat server turns a tablet or thin laptop into a full development machine. High Frequency plans speed up single-threaded builds, and a snapshot lets you roll back after a bad upgrade.
The deployed machine has code-server on Ubuntu 24.04 LTS; upstream defaults bind it to 127.0.0.1:8080 with password login.
What you get with code-server
- The VS Code editor and terminal in a browser
- Extensions from the Open VSX registry
- Password login with rate-limited attempts
- Usable from tablets and Chromebooks
- Install script, packages or Docker image
code-server use cases
- Coding from an iPad or Chromebook on a real Linux box
- The same dev environment for every workshop attendee
- Moving heavy builds off a laptop short on RAM
After you deploy code-server
- SSH in as root after the server reaches Running and read the password from
~/.config/code-server/config.yaml, the documented default for the user running code-server. - For a private session, tunnel instead of opening the port:
ssh -N -L 8080:127.0.0.1:8080 root@<server IP>, then browse to http://127.0.0.1:8080. - For daily use, front it with Caddy or NGINX and a Let's Encrypt certificate on your domain, as the code-server guide describes.
- Never expose it without both a password and HTTPS: its terminal gives full control of the machine.
code-server ports
Open these in your firewall if you use one: 8080/tcp Web IDE.
code-server FAQ
Is code-server the same as VS Code?
It is the open-source VS Code core running on a server. Extensions come from Open VSX, so a few Microsoft-published extensions are missing.
How much RAM does it need?
The project asks for at least 1 GB of RAM and 2 CPU cores. Language servers and builds add up fast, so 4 GB ($11.58) is a comfortable start for TypeScript or Java.
Disclaimer. The code-server project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.