Skip to content

code-server

Run VS Code on a remote Linux server and use it from any browser

Permissive (OSI) · MIT
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

90

Health

Thriving

Overview

Stars

79,936

Last commit

yesterday

Nov 2026

Repository age

7 years

since Feb 2019

Latest version

v4.146.0

Nov 2026

Contributors

–

20 active in 90 days

Releases

25

last 12 months

Language

TypeScript

code-server runs VS Code on a machine you control and serves it to your browser. Your editor, terminal and extensions live on the server, so you get the same environment from a laptop, a tablet or any other device with a browser.

Heavy work such as builds, tests and downloads runs on the server, which also saves battery on the device in front of you. It needs a Linux machine with WebSockets enabled, 1 GB of RAM and 2 vCPUs. You can install it with a script that uses the system package manager where possible, install it by hand, use the devcontainers feature, or deploy it to a team with coder/coder. A Homebrew formula is available, and a hosted plan exists.

The project is written in TypeScript, licensed under MIT, and has been developed since 2019. It is a self-hosted equivalent to VS Code for people who want that editor on a remote server.

Who it's for

Developers who work from several devices

You open the same workspace in a browser from any machine, with the work running on a server.

Skip if: You want a native desktop app with the full Microsoft extension marketplace.

Teams standardizing dev environments

A shared server setup gives everyone the same tools, and coder/coder helps manage it for a team.

Skip if: Your team already uses a managed cloud workspace service it is happy with.

Devcontainer users

A devcontainers feature lets you add code-server to a project you already define that way.

Skip if: You do not use containers or a remote machine at all.

The problem it solves

You want your usual editor on a thin laptop or a tablet without running builds locally. code-server puts VS Code on a server you own and gives you access through a browser.

Strengths

  • Runs VS Code in the browser from any device
  • Install script that uses the system package manager when possible
  • MIT license with 25 releases in the last year
  • Devcontainers feature and coder/coder for team deployment
  • Hosted plan available for those who skip server setup

Trade-offs

  • Browser-based; there is no native desktop app
  • Some extensions are unavailable because it uses Open VSX
  • VS Code's built-in AI features are not included
  • Needs a Linux server with WebSockets enabled

code-server replaces

Self-host code-server

Self-hostable
Yes
Minimum RAM
1 GB
Hosted plan
From $4/month · pricing

Quick start

curl -fsSL https://code-server.dev/install.sh | sh

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is code-server free?

Yes. The code is MIT licensed and you can self-host it at no cost. A hosted plan also exists.

What are the minimum requirements?

A Linux machine with WebSockets enabled, 1 GB of RAM and 2 vCPUs.

How do I install it?

Run the install script, which uses the system package manager when possible. You can also install manually or use the devcontainers feature.

Does it support every VS Code extension?

No. Some extensions are not available through Open VSX.

Other VS Code alternatives

Compare all 8 VS Code alternatives →

Similar tools in Cloud development environments

Gitpod

Cloud development environments

Cloud development environments started from a .gitpod.yml file, now superseded by Ona

14k 1.4k 7 days ago Active AGPL-3.0

Replaces Codespaces

Coder

Cloud development environments

Self-hosted cloud workspaces defined in Terraform, for teams replacing Codespaces

17k 1.7k today Thriving AGPL-3.0

Eclipse Che

Cloud development environments

Kubernetes-native platform for self-hosted, devfile-based cloud workspaces for enterprise

7.2k 1.2k 3 days ago Thriving EPL-2.0

cloudmacs

Cloud development environments

Docker setup that serves your own Emacs, config included, in a web browser

591 38 14 months ago Dormant GPL-3.0

Eleven

Cloud development environments

CLI that creates cloud dev sandboxes in your own AWS or Hetzner account

283 5 4 years ago Dormant MIT

Atheos

Cloud development environments

Lightweight self-hosted web IDE and code editor for a plain PHP server

680 90 4 months ago Dormant MIT