S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
self-hosting 2026-10-24

Install code-server on Ubuntu 24.04 (VS Code in Your Browser)

Companion guide and video starting point

This article is a companion to the video, not a replacement for it, and the video is the starting point for everything below.

Watch the video

In the video: a two-minute walkthrough starts at the upstream docs, confirms the machine runs 64-bit Ubuntu 24.04 with a new enough C library, downloads the standalone 4.143.1 release archive, unpacks it into the local library with a single pipe, moves it into place, links the binary onto the path, checks the version, launches it with a password on the loopback address, and shows the login page answering HTTP 200 before logging into the full editor. The terminal frames are labeled as recreated from a real test run, so treat the commands as the documented flow and the exact output as illustrative.

Added from the sources: every version number, requirement, and procedure below was checked against the code-server v4.143.1 release, which ships Code 1.143.1 and was published October 23rd, and the upstream install docs, which document the standalone-release method. No install was run for this guide, so treat the steps as sourced procedure, untested here, and confirm the version string yourself after installing.

Related reading: Install LiteLLM 1.106.2 on Ubuntu 24.04 for another pinned-version self-hosted install in the same lane.

What you need before starting

In the video: 64-bit Ubuntu 24.04 with glibc 2.28 or newer is required, the demo machine runs 24.04 on x86_64 with glibc 2.39, and no sudo is needed because everything lives in the home folder.

Terminal confirming Ubuntu 24.04.5 LTS, x86_64, and glibc 2.39 with a supported verdict highlighted
Terminal confirming Ubuntu 24.04.5 LTS, x86_64, and glibc 2.39 with a supported verdict highlighted (Still from the walkthrough video.)

Added from the sources: the upstream install docs state the only standalone-release requirement is glibc 2.28 or newer on Linux, and the v4.143.1 release confirms Code 1.143.1 inside. Check your own box first:

Download the release and install it without sudo

In the video: the standalone archive for version 4.143.1 is downloaded and unpacked into the local library with one pipe, moved into place, and linked onto the path. The archive is about 230 MB down and roughly 700 MB unpacked.

Terminal downloading the 4.143.1 archive through a pipe into the local library, then linking the binary onto the path
Terminal downloading the 4.143.1 archive through a pipe into the local library, then linking the binary onto the path (Still from the walkthrough video.)

Added from the sources: this matches the standalone-release method in the upstream docs: download the archive for your system from GitHub releases, unpack it, and run code-server from ./bin/code-server. Adapted to the video's layout:

Launch it password-locked and log in

In the video: code-server is launched with a password and a loopback address, the server reports listening with authentication on, the login page answers HTTP 200, and after login the full editor loads in the browser with files, terminal, and extensions all present.

Browser window logged into code-server showing the full VS Code editor with files, terminal, and extensions
Browser window logged into code-server showing the full VS Code editor with files, terminal, and extensions (Still from the walkthrough video.)

Added from the sources: bind to loopback and require the password, per the upstream pattern of serving on http://127.0.0.1:8080 with the password from your config:

Troubleshooting and cleanup

Watch the walkthrough

Watch on YouTube