code-server logo

code-server

VS Code in the browser

DevTool Latest: 4.112.0

Introduction

code-server is a powerful open-source tool that brings Visual Studio Code (VS Code) into a web-based environment. It allows you to securely connect to that remote machine from anywhere through a local VS Code client, without the requirement of SSH.

Features

  • Remote Development: Allows you to access your development environment from anywhere using a web browser. This means you can write, edit, and run code consistently across different devices and operating systems.
  • Lightweight: A lightweight application with low resource consumption, making it efficient to run on servers with limited resources. This makes it an ideal tool for providing a unified development environment for teams or for cloud-based development.
  • Rich Extension Ecosystem: You can install and use the extensive library of VS Code extensions to expand the editor’s functionality. This includes language support, themes, code snippets, workflow automation, and more.
  • Multi-Language Support: Provides broad support for programming languages, including JavaScript, Python, Java, C++, etc. You can handle multiple programming tasks within a unified development environment.
  • Integrated Terminal: It includes an integrated terminal that lets you run commands, install dependencies, and run applications within the same interface.
  • Version Control: Integrated version control systems (such as Git) make it easy to manage and track changes to your code.
  • Team Collaboration: Allows multiple developers to collaborate simultaneously by sharing workspaces and codebases, enhancing team collaboration.
  • Customizable Settings: You can customize the editor's settings according to your needs, including themes, shortcuts, and workspace configurations.

Deploy code-server with 1Panel

  1. Install 1Panel on your VPS (Linux server).

    # Copy and paste the following command into your terminal and press Enter
    bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"
  2. Open the 1Panel dashboard, go to App Store.

  3. Search for code-server and click Install.

  4. Fill in the required parameters (ports, admin credentials, storage path), then confirm.

  5. After deployment, create a website/reverse proxy in 1Panel if you want a custom domain.

  6. Enable HTTPS (recommended) and keep the app updated from the App Store.