code-server install guide

Install code-server on macOS and Linux

★ 80k stars macOS and Linux README verified

Install code-server with one command

Pick your system, reveal the command, copy it, paste it into your terminal and press Enter. This command was taken from the project's own documentation and checked against it.

PowerShell not published

What exactly does this do?

Open Terminal. On a Mac it's in Applications ▸ Utilities, or press Cmd+Space and type Terminal. On Linux, press Ctrl+Alt+T. Paste the command and press Enter.

Run code-server --help to see the available commands, and code-server --version to confirm the install worked. If your shell complains about permissions, that project usually documents a corrected command on its own site.

This downloads the project's shell installer and pipes it straight into your shell, which executes it without saving a file. Same caveat: it's the project's script, but read it first if you want to be sure.

What code-server does

  • Code on any device with a consistent development environment
  • Deploy code-server to your team with coder/coder
  • Using our one-click buttons and guides to [deploy code-server to a cloud
  • Preserve battery life when you're on the go; all intensive tasks run on your

Summarised from code-server's own README.

About code-server

code-server is an open-source developer tool.

CategoryServer / service
Install methodshell one-liner (curl | bash)
Windowsno install command published
macOS / Linuxdocumented install command available
PriceFree and open source
Command verifiedYes — checked against the project README
Popularity80k stars on the project's public repository

On mobile

code-server is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

code-server is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.