We use cookies to make your experience better.
Learn about what you need to run code-server.
You'll need a machine on which you can run code-server. You can use a physical machine you have, or you can use a VM on GCP/AWS.
At the minimum, we recommend:
You can use any Linux distribution, but our docs assume that you're using Debian hosted by Google Cloud (see the following section for instructions on setting this up).
Your environment must have WebSockets enabled, since code-server uses WebSockets for communication between the browser and the server.
The following steps walk you through setting up a VM running Debian using Google Cloud (though you are welcome to use any machine or VM provider).
If you're signing up with Google for the first time, you should get a 12-month trial with $300 of credits.
After you sign up and create a new Google Cloud Provider (GCP) project, create a new Compute Engine VM instance:
Notes:
gcloud cli
to avoid using the GCP Dashboard if possible.See an opportunity to improve our docs? Make an edit.