No description
Find a file
Asher b5611efe1a
Use VS Code packaging for releases (#7721)
* Allow setting the VS Code build target

For the NPM package (and tests, at least for now), we will still use
linux-x64, but this is going to allow using the platform build targets
for our standalone releases so we can avoid having to copy all the
packaging steps (like cleaning up modules).

This does mean that the NPM package when installed will be missing those
cleanup steps.  Possibly we can try to break out the packaging step into
a something that can be ran standalone (which will also require
installing dev dependencies like gulp) but not sure how much work this
would be.

* Preserve dependencies for e2e tests

To avoid having to install them again.

Also moved an env block to the root of the  job.

* Refactor releases to use VS Code packaging

Instead of building the linux-x64 package, stripping the modules, then
installing them again, we build the correct target and use the modules
as they are.

This means we do not have to copy all the post-processing steps like the
ones that delete unnecessary modules.

For the NPM package we still publish the linux-x64 package (without
modules of course).  This means npm installations do not get that same
post-processing.

Another advantage of this is that we can run the release immediately
without having to wait for the build step, or on a commit that no longer
has a build artifact, since they all build individually now.  We could
try sharing the core-ci build step, but leaving that alone for now.

I also converted the macOS jobs into a matrix.

Deleted the CI readme because it was out of date and seemed to just
repeat what should be described in the scripts anyway.

Removed a section about Homebrew since we do not maintain that anymore.

It looks like there is no need to symlink node_modules.asar anymore.
2026-03-27 17:08:35 -08:00
.github Use VS Code packaging for releases (#7721) 2026-03-27 17:08:35 -08:00
.tours Update Code to 1.94.2 (#7026) 2024-10-17 20:32:21 -08:00
ci Use VS Code packaging for releases (#7721) 2026-03-27 17:08:35 -08:00
docs Use VS Code packaging for releases (#7721) 2026-03-27 17:08:35 -08:00
lib Update Code to 1.113.0 (#7716) 2026-03-26 11:39:40 -08:00
patches Update Code to 1.113.0 (#7716) 2026-03-26 11:39:40 -08:00
src feat: expose --reconnection-grace-time CLI flag (#7678) 2026-03-25 11:47:58 -08:00
test feat: expose --reconnection-grace-time CLI flag (#7678) 2026-03-25 11:47:58 -08:00
typings/httpolyglot Remove long-unused internal plugin system 2025-03-06 15:28:07 -09:00
.dockerignore Simplify packaging and improve scripts 2020-05-08 01:04:24 -04:00
.editorconfig Revert .editorconfig (#4640) 2021-12-16 15:30:07 -06:00
.git-blame-ignore-revs chore: ignore prettier 3.4.2 code format commit 2024-12-12 19:01:09 +00:00
.gitattributes browser: Add favicon.afdesign 2021-01-08 23:03:34 -05:00
.gitignore Use VS Code packaging for releases (#7721) 2026-03-27 17:08:35 -08:00
.gitmodules chore: move to patches (#4997) 2022-03-22 15:07:14 -05:00
.node-version Update Code to 1.113.0 (#7716) 2026-03-26 11:39:40 -08:00
.nvmrc chore: Update dependency requirements. Fix node version manager. 2021-07-21 14:32:16 -04:00
.prettierignore Use VS Code packaging for releases (#7721) 2026-03-27 17:08:35 -08:00
.prettierrc.yaml chore(prettier): ignore lib/vscode (#5347) 2022-07-15 21:13:13 +00:00
CHANGELOG.md Update Helm chart and changelog to 4.109.5 2026-03-03 08:24:56 -09:00
eslint.config.mjs Update Code to 1.94.2 (#7026) 2024-10-17 20:32:21 -08:00
flake.lock Update Code to 1.97.0 (#7199) 2025-02-12 14:34:05 -09:00
flake.nix Update logo 2025-06-25 10:32:43 -08:00
install.sh Fix install.sh refusing to download macos-arm64 standalone. (#6968) 2024-09-03 10:25:06 -08:00
LICENSE chore: remove file ext. from LICENSE (#5070) 2022-04-07 10:36:33 -07:00
package-lock.json chore: bump flatted from 3.3.4 to 3.4.2 (#7713) 2026-03-23 10:50:35 -08:00
package.json Use VS Code packaging for releases (#7721) 2026-03-27 17:08:35 -08:00
renovate.json chore: use matchUpdateTypes (#5942) 2023-01-04 23:08:39 +00:00
ThirdPartyNotices.txt Add ThirdPartyNotices.txt 2020-07-16 19:01:09 -06:00
tsconfig.json feat: add i18n in login page (#5947) 2023-01-13 17:42:49 +00:00

code-server

"GitHub Discussions" "Join us on Slack" Twitter Follow Discord codecov See latest

Run VS Code on any machine anywhere and access it in the browser.

Screenshot Screenshot

Highlights

  • Code on any device with a consistent development environment
  • Use cloud servers to speed up tests, compilations, downloads, and more
  • Preserve battery life when you're on the go; all intensive tasks run on your server

Requirements

See requirements for minimum specs, as well as instructions on how to set up a Google VM on which you can install code-server.

TL;DR: Linux machine with WebSockets enabled, 1 GB RAM, and 2 vCPUs

Getting started

There are five ways to get started:

  1. Using the install script, which automates most of the process. The script uses the system package manager if possible.
  2. Manually installing code-server
  3. Deploy code-server to your team with coder/coder
  4. Using our one-click buttons and guides to deploy code-server to a cloud provider
  5. Using the code-server feature for devcontainers, if you already use devcontainers in your project.

If you use the install script, you can preview what occurs during the install process:

curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run

To install, run:

curl -fsSL https://code-server.dev/install.sh | sh

When done, the install script prints out instructions for running and starting code-server.

Note

To manage code-server for a team on your infrastructure, see: coder/coder

We also have an in-depth setup and configuration guide.

Questions?

See answers to frequently asked questions.

Want to help?

See Contributing for details.

Hiring

Interested in working at Coder? Check out our open positions!

For Teams

We develop coder/coder to help teams to adopt remote development.