Moving from Visual Studio Codespaces to code-server

By Ben Potter

Recently, Microsoft announced that all VS Codespaces are migrating to GitHub. At this time, support for self-hosted Codespaces will be removed in favor of GitHub's cloud environments.

If you are looking to host a VS Code server on your own infrastructure, code-server is the solution.

  • Use VS Code in the browser (terminal, integrations, extensions) 🧩
  • Authenticate via password (or another auth + reverse proxy) 🔑
  • Encrypt with HTTPS 🔒
  • Host on any machine (Mac, Linux, WSL) 🖥
code-server screen grab


To get started, run our simple install script: (feel free to see what it does first)

curl -fsSL | sh

Read the guide doc for additional configuration info.

Coming soon ☁️

To make moving from Codespaces to code-server even easier, we're working on Cloud - a service providing easy setup, authentication, and access for your code-server instances.

Ready to get started?

Request a demo or read our documentation to learn how Coder Enterprise works.