code-server

4.116.0 · active · verified Tue Apr 21

code-server enables running Microsoft's Visual Studio Code on a remote server, accessible via a web browser. This facilitates a consistent development environment across various devices, leveraging cloud server resources for computationally intensive tasks like compilation, testing, and downloads, thereby preserving local device battery life. The current stable version is 4.116.0, which updates to VS Code 1.116.0. The project maintains a frequent release cadence, generally updating monthly to align with new VS Code versions. Key differentiators include its ability to centralize development environments, utilize server-side processing power, and offer a web-based IDE experience without direct client-side VS Code installation. It requires a Linux machine with WebSockets enabled, at least 1GB RAM, and 2 vCPUs, and is built for Node.js 22.

Common errors

Warnings

Install

Quickstart

This quickstart demonstrates how to install `code-server` using its recommended `install.sh` script and provides basic command-line examples for running the server, setting authentication, binding to an address, and specifying a project directory.

# Install code-server using the official script
curl -fsSL https://code-server.dev/install.sh | sh

# The install script will print instructions for running code-server.
# A common way to run it is:
# code-server --auth password
# 
# For unattended or background operation, you might use nohup or tmux:
# nohup code-server --auth password --bind-addr 0.0.0.0:8080 & 
#
# Replace 'yourpassword' with a strong password.
# Access it in your browser at the specified address (e.g., http://your-server-ip:8080)
#
# To specify a specific workspace or folder:
# code-server --auth password --bind-addr 0.0.0.0:8080 /path/to/your/project

view raw JSON →