How to Install Code-server on Windows 10

In this tutorial, we will show you how to install code-server, an open-source version of Visual Studio Code, on Windows 10. Code-server allows you to run Visual Studio Code in the browser, making it easier to code on multiple devices.

Prerequisites

Before installing code-server, make sure you've got the following prerequisites:

Steps

Follow the steps below to install code-server on your Windows 10 machine:

  1. Open Command Prompt or PowerShell on your Windows 10 machine.
  2. Clone the code-server GitHub repository by running the following command in the Command Prompt or PowerShell:
git clone https://github.com/coder/code-server.git
  1. Navigate to the code-server directory by running the following command:
cd code-server
  1. Install the dependencies by running the following command:
npm install
  1. Build the code-server binaries by running the following command:
npm run build:web
  1. Run the code-server by running the following command:
npm run start:web
  1. Open your browser and go to http://localhost:8080 to access code-server.
  2. If you want to access code-server from other devices, replace localhost with your machine's IP address.

Conclusion

By following the steps outlined in this tutorial, you should now have code-server up and running on your Windows 10 machine. This allows you to code in Visual Studio Code in the browser, making it easier to work on multiple devices.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!