APP-OVERVIEW 5 min read fordnox
code-server icon

code-server: Self-Hosted VS Code in the Browser

code-server is VS Code running in the browser with 76,000+ GitHub stars. Self-host your development environment and code from any device through your own VPS.


code-server: Self-Hosted VS Code in the Browser

code-server runs VS Code on a remote server and makes it accessible through any web browser. With over 76,000 GitHub stars, it is the most popular way to self-host a cloud IDE. You get the full VS Code experience — extensions, terminal, Git integration, IntelliSense — accessible from any device with a browser, including tablets and thin clients.

Self-hosting code-server turns your VPS into a personal cloud development environment with consistent performance regardless of your local hardware.

Key Features

Why Self-Host code-server?

Code from anywhere on any device. Access your full development environment from a laptop, tablet, or even a phone browser. Your projects, extensions, terminal sessions, and editor state persist on the server. Switch devices mid-session without losing context.

Consistent, powerful hardware. Run builds, tests, and resource-intensive tasks on your VPS instead of your local machine. A laptop with 4 GB RAM can drive a development environment backed by a VPS with 16 GB RAM and fast SSDs. Your local device just needs a browser.

Instant environment setup. No more “works on my machine” problems. Your development environment lives on the server with all dependencies pre-installed. Onboard new team members by giving them a URL. Clone your environment by spinning up another instance.

Secure remote access. Instead of exposing SSH ports or setting up VPN tunnels, code-server provides a web-based interface protected by authentication. Combine it with HTTPS and you have secure development access from anywhere — including restrictive networks that only allow web traffic.

System Requirements

ResourceMinimumRecommended
CPU2 vCPUs4 vCPUs
RAM2 GB4 GB
Storage10 GB SSD50 GB SSD
OSUbuntu 22.04+Ubuntu 24.04

Resource needs scale with your project size and the number of extensions running. Language servers (TypeScript, Python, Go) can be memory-intensive. For compiling or running containers alongside the IDE, allocate more RAM.

Getting Started

Deploy code-server on your VPS using Docker Compose through Dokploy. Our guide covers installation, persistent workspace storage, authentication setup, and SSL configuration.

Deploy code-server with Dokploy →

Alternatives

FAQ

Is code-server the same as VS Code? code-server runs the same VS Code codebase but serves it through a web browser instead of a desktop application. Most extensions and features work identically. Some extensions that require native desktop APIs (like certain debugger GUIs) may have limited functionality.

Can multiple users share a code-server instance? code-server is designed for single-user access. For multi-user setups, deploy separate instances per user or use a platform like JupyterHub or Coder that manages multiple workspaces. Each user should have their own isolated environment.

How does code-server handle latency? code-server is responsive over typical internet connections. Keystroke-to-screen latency is imperceptible on connections under 100ms round-trip time. For the best experience, choose a VPS in a region close to your location.

Can I use my existing VS Code settings and extensions? Yes. code-server supports the VS Code settings.json format and most marketplace extensions. You can copy your local settings to the server or sync them via a dotfiles repository.


App data sourced from selfh.st open-source directory.

~/self-hosted-app/code-server/get-started

Ready to get started?

Get the best VPS hosting deal today. Hostinger offers 4GB RAM VPS starting at just $4.99/mo.

Get Hostinger VPS — $4.99/mo

// up to 75% off + free domain included

// related topics

code-server vs code browser self-hosted ide remote development cloud ide code-server vps
Andrius Putna

Andrius Putna

I am Andrius Putna. Geek. Since early 2000 in love tinkering with web technologies. Now AI. Bridging business and technology to drive meaningful impact. Combining expertise in customer experience, technology, and business strategy to deliver valuable insights. Father, open-source contributor, investor, 2xIronman, MBA graduate.

// last updated: February 12, 2026. Disclosure: This article may contain affiliate links.