---
title: "Moving from Visual Studio Codespaces to code-server - Blog - Coder"
description: "VS Codespaces is migrating to GitHub, removing support for self-hosted Codespaces. code-server is the open-source solution."
image: "/api/dynamic-og?title=Moving+from+Visual+Studio+Codespaces+to+code-server&randomBackground=true&styles=%7B%22height%22%3A162%2C%22width%22%3A302%2C%22padding%22%3A16%2C%22titleSize%22%3A24%2C%22logo%22%3A%7B%22width%22%3A80%2C%22height%22%3A12.15%7D%7D"
canonical: "https://coder.com/blog/moving-from-visual-studio-codespaces-to-code-server"
---

Sep 11 20201 min read

# Moving from Visual Studio Codespaces to code-server

[Ben Potter](https://coder.com/blog/author/bpmct)

Share this article

Recently, Microsoft announced that all VS Codespaces [are migrating to GitHub](https://devblogs.microsoft.com/visualstudio/visual-studio-codespaces-is-consolidating-into-github-codespaces/). 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](https://github.com/cdr/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](https://www.datocms-assets.com/19109/1599850520-92872440-06beb800-f3d4-11ea-8b28-8a22fafc5c11.gif?fit=clip&fm=webp&w=3840&q=90)

code-server screen grab

## Installation

To get started, run our simple [install script](https://github.com/cdr/code-server/blob/v3.5.0/doc/install.md): (feel free to see what it does first)

```

```

Read [the guide doc](https://github.com/cdr/code-server/blob/v3.5.0/doc/guide.md) for additional configuration info.

## code-server --link

We've added a feature in code-server that sets up a TLS domain, tunneling, and authentication for you. All you need to do is run: `sh
$ code-server --link
[] info  Proxying code-server to Coder Cloud, you can access your IDE at https://bens_macbook-bpmct.cdr.co
`

### Subscribe to our newsletter

Want to stay up to date on all things Coder? Subscribe to our monthly newsletter for the latest articles, workshops, events, and announcements.
