Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

code-server on a VPS

code-server serves VS Code from a remote machine to any browser. Your editor, terminal and extensions follow you, while builds run on the server's CPU.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
8080/tcpPorts
MITLicense

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

  1. 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.
  2. 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.
  3. For daily use, front it with Caddy or NGINX and a Let's Encrypt certificate on your domain, as the code-server guide describes.
  4. 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.

code-server on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back