vscodium/README.md

217 lines
12 KiB
Markdown
Raw Normal View History

2018-12-10 04:03:10 +03:00
<div id="vscodium-logo" align="center">
<br />
2023-04-03 01:15:06 +03:00
<img src="./icons/stable/codium_cnl.svg" alt="VSCodium Logo" width="200"/>
2018-12-10 04:05:15 +03:00
<h1>VSCodium</h1>
<h3>Free/Libre Open Source Software Binaries of VS Code</h3>
2018-12-10 04:03:10 +03:00
</div>
2018-11-22 17:08:28 +03:00
2018-12-10 04:03:10 +03:00
<div id="badges" align="center">
2018-12-10 04:04:18 +03:00
2021-12-18 01:21:31 +03:00
[![current release](https://img.shields.io/github/release/vscodium/vscodium.svg)](https://github.com/vscodium/vscodium/releases)
2018-12-10 04:04:18 +03:00
[![license](https://img.shields.io/github/license/VSCodium/vscodium.svg)](https://github.com/VSCodium/vscodium/blob/master/LICENSE)
[![Gitter](https://img.shields.io/gitter/room/vscodium/vscodium.svg)](https://gitter.im/VSCodium/Lobby)
[![codium](https://snapcraft.io//codium/badge.svg)](https://snapcraft.io/codium)
[![codium](https://snapcraft.io//codium/trending.svg?name=0)](https://snapcraft.io/codium)
2018-12-10 04:04:18 +03:00
[![build status (linux)](https://img.shields.io/github/actions/workflow/status/VSCodium/vscodium/stable-linux.yml?branch=master&label=build%28linux%29)](https://github.com/VSCodium/vscodium/actions/workflows/stable-linux.yml?query=branch%3Amaster)
[![build status (macos)](https://img.shields.io/github/actions/workflow/status/VSCodium/vscodium/stable-macos.yml?branch=master&label=build%28macOS%29)](https://github.com/VSCodium/vscodium/actions/workflows/stable-macos.yml?query=branch%3Amaster)
[![build status (windows)](https://img.shields.io/github/actions/workflow/status/VSCodium/vscodium/stable-windows.yml?branch=master&label=build%28windows%29)](https://github.com/VSCodium/vscodium/actions/workflows/stable-windows.yml?query=branch%3Amaster)
2018-12-10 04:03:10 +03:00
</div>
2018-08-13 18:14:15 +03:00
**This is not a fork. This is a repository of scripts to automatically build [Microsoft's `vscode` repository](https://github.com/microsoft/vscode) into freely-licensed binaries with a community-driven default configuration.**
## Table of Contents
- [Download/Install](#download-install)
- [Install with Brew](#install-with-brew)
2020-06-20 22:57:16 +03:00
- [Install with Windows Package Manager (WinGet)](#install-with-winget)
2019-01-15 20:55:36 +03:00
- [Install with Chocolatey](#install-with-choco)
2019-04-12 09:29:28 +03:00
- [Install with Scoop](#install-with-scoop)
- [Install with snap](#install-with-snap)
- [Install with Package Manager](#install-with-package-manager)
- [Install on Arch Linux](#install-on-arch-linux)
2019-03-07 17:49:16 +03:00
- [Flatpak Option](#flatpak)
2021-12-18 17:44:29 +03:00
- [Build](#build)
- [Why Does This Exist](#why)
- [More Info](#more-info)
- [Supported Platforms](#supported-platforms)
## <a id="download-install"></a>Download/Install
2023-09-29 12:26:20 +03:00
:tada: :tada:
Download latest release here:
[stable](https://github.com/VSCodium/vscodium/releases) or
[insiders](https://github.com/VSCodium/vscodium-insiders/releases)
:tada: :tada:
[More info / helpful tips are here.](https://github.com/VSCodium/vscodium/blob/master/docs/index.md)
2019-04-07 06:03:13 +03:00
2023-09-29 12:26:20 +03:00
#### <a id="install-with-brew"></a>Install with Brew (Mac)
If you are on a Mac and have [Homebrew](https://brew.sh/) installed:
```bash
2023-09-29 12:26:20 +03:00
# stable
brew install --cask vscodium
2023-09-29 12:26:20 +03:00
# insiders
brew tap homebrew/cask-versions
brew install --cask vscodium-insiders
```
*Note for macOS users: if you can't open the App, please read [the following troubleshooting](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md#macos).*
2018-08-13 18:14:15 +03:00
2020-06-20 22:57:16 +03:00
#### <a id="install-with-winget"></a>Install with Windows Package Manager (WinGet)
2020-06-20 22:57:16 +03:00
If you use Windows and have [Windows Package Manager](https://github.com/microsoft/winget-cli) installed:
```cmd
2023-09-29 12:26:20 +03:00
:: stable
winget install -e --id VSCodium.VSCodium
2023-09-29 12:26:20 +03:00
:: insider
winget install -e --id VSCodium.VSCodium.Insiders
2020-06-20 22:57:16 +03:00
```
2019-01-15 20:55:36 +03:00
#### <a id="install-with-choco"></a>Install with Chocolatey (Windows)
2019-01-15 20:55:36 +03:00
If you use Windows and have [Chocolatey](https://chocolatey.org) installed (thanks to [@Thilas](https://github.com/Thilas)):
2023-10-06 14:31:31 +03:00
```cmd
:: stable
2019-01-15 20:55:36 +03:00
choco install vscodium
2023-10-06 14:31:31 +03:00
:: insider
choco install vscodium-insiders
2019-01-15 20:55:36 +03:00
```
2019-04-12 09:29:28 +03:00
#### <a id="install-with-scoop"></a>Install with Scoop (Windows)
2019-04-12 09:29:28 +03:00
If you use Windows and have [Scoop](https://scoop.sh) installed:
```bash
scoop bucket add extras
scoop install vscodium
```
#### <a id="install-with-snap"></a>Install with snap (GNU/Linux)
VSCodium is available in the [Snap Store](https://snapcraft.io/) as [Codium](https://snapcraft.io/codium), thanks to the help of the [Snapcrafters](https://github.com/snapcrafters/codium) community.
If your GNU/Linux distribution has support for [snaps](https://snapcraft.io/docs/installing-snapd):
```bash
snap install codium --classic
```
#### <a id="install-with-package-manager"></a>Install with Package Manager (GNU/Linux)
You can always install using the downloads (deb, rpm, tar) on the releases page for [stable](https://github.com/VSCodium/vscodium/releases) or [insiders](https://github.com/VSCodium/vscodium-insiders/releases), but you can also install using your favorite package manager and get automatic updates.
2023-09-29 12:26:20 +03:00
[@paulcarroty](https://github.com/paulcarroty) has set up a repository with instructions for `apt`, `dnf` and `zypper` [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo).
2023-09-29 12:26:20 +03:00
Any issues installing VSCodium using your package manager should be directed to that repository's issue tracker.
#### <a id="install-on-arch-linux"></a>Install on Arch Linux
VSCodium is available in [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository), maintained by [@binex-dsk](https://github.com/binex-dsk) as package [vscodium-bin](https://aur.archlinux.org/packages/vscodium-bin/) (stable) and as [vscodium-insiders-bin](https://aur.archlinux.org/packages/vscodium-insiders-bin).
2023-09-29 12:26:20 +03:00
If you want to save disk space by having VSCodium use the Electron system-wide, you also have [vscodium-electron](https://aur.archlinux.org/packages/vscodium-electron),
maintained by [@m00nw4tch3r](https://aur.archlinux.org/account/m00nw4tch3r).
2023-09-29 12:26:20 +03:00
An alternative package [vscodium-git](https://aur.archlinux.org/packages/vscodium-git/), maintained by [@cedricroijakkers](https://github.com/cedricroijakkers), is also available should you wish to compile from source yourself.
2019-04-13 00:48:01 +03:00
#### <a id="flatpak"></a>Flatpak Option (GNU/Linux)
VSCodium is available as a Flatpak app [here](https://flathub.org/apps/details/com.vscodium.codium) and the build repo is [here](https://github.com/flathub/com.vscodium.codium).
2023-09-29 12:26:20 +03:00
If your distribution has support for [flatpak](https://flathub.org), and you have enabled the [flathub repo](https://flatpak.org/setup/):
2020-05-09 11:05:55 +03:00
```bash
flatpak install flathub com.vscodium.codium
flatpak run com.vscodium.codium
```
2019-03-07 17:49:16 +03:00
2021-12-18 17:44:29 +03:00
## <a id="build"></a>Build
Build instructions can be found [here](https://github.com/VSCodium/vscodium/blob/master/docs/howto-build.md)
2021-12-18 17:44:29 +03:00
## <a id="why"></a>Why Does This Exist
This repository contains build files to generate free release binaries of Microsoft's VS Code. When we speak of "free software", we're talking about freedom, not price.
2018-08-13 18:14:15 +03:00
2021-12-18 01:21:31 +03:00
Microsoft's releases of Visual Studio Code are licensed under [this not-FLOSS license](https://code.visualstudio.com/license) and contain telemetry/tracking. According to [this comment](https://github.com/Microsoft/vscode/issues/60#issuecomment-161792005) from a Visual Studio Code maintainer:
2018-08-13 18:14:15 +03:00
> When we [Microsoft] build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license.
2021-12-18 01:21:31 +03:00
>
> When you clone and build from the vscode repo, none of these endpoints are configured in the default product.json. Therefore, you generate a "clean" build, without the Microsoft customizations, which is by default licensed under the MIT license
2018-08-13 18:14:15 +03:00
2019-04-11 06:51:44 +03:00
This repo exists so that you don't have to download+build from source. The build scripts in this repo clone Microsoft's vscode repo, run the build commands, and upload the resulting binaries to [GitHub releases](https://github.com/VSCodium/vscodium/releases). __These binaries are licensed under the MIT license. Telemetry is disabled.__
If you want to build from source yourself, head over to [Microsoft's vscode repo](https://github.com/Microsoft/vscode) and follow their [instructions](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run). This repo exists to make it easier to get the latest version of MIT-licensed VS Code.
2022-10-23 16:59:19 +03:00
Microsoft's build process (which we are running to build the binaries) does download additional files. Those packages downloaded during build are:
2022-10-23 16:59:19 +03:00
- Pre-built extensions from the GitHub:
- [ms-vscode.js-debug-companion](https://github.com/microsoft/vscode-js-debug-companion)
- [ms-vscode.js-debug](https://github.com/microsoft/vscode-js-debug)
- [ms-vscode.vscode-js-profile-table](https://github.com/microsoft/vscode-js-profile-visualizer)
- From [Electron releases](https://github.com/electron/electron/releases) (using [gulp-atom-electron](https://github.com/joaomoreno/gulp-atom-electron))
- electron
- ffmpeg
2018-09-13 03:55:04 +03:00
## <a id="more-info"></a>More Info
2019-05-22 19:09:02 +03:00
### Documentation
For more information on getting all the telemetry disabled, tips for migrating from Visual Studio Code to VSCodium and more, have a look at [the Docs page](https://github.com/VSCodium/vscodium/blob/master/docs/index.md) page.
### Troubleshooting
If you have any issue, please check [the Troubleshooting page](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md) or the existing issues.
### Extensions and the Marketplace
According to the VS Code Marketplace [Terms of Use](https://aka.ms/vsmarketplace-ToU), _you may only install and use Marketplace Offerings with Visual Studio Products and Services._ For this reason, VSCodium uses [open-vsx.org](https://open-vsx.org/), an open source registry for VS Code extensions. See the [Extensions + Marketplace](https://github.com/VSCodium/vscodium/blob/master/docs/index.md#extensions-marketplace) section on the Docs page for more details.
Please note that some Visual Studio Code extensions have licenses that restrict their use to the official Visual Studio Code builds and therefore do not work with VSCodium. See [this note](https://github.com/VSCodium/vscodium/blob/master/docs/index.md#proprietary-debugging-tools) on the Docs page for what's been found so far and possible workarounds.
2019-04-07 06:03:13 +03:00
2019-06-12 12:40:13 +03:00
### How are the VSCodium binaries built?
2021-08-03 15:42:23 +03:00
If you would like to see the commands we run to build `vscode` into VSCodium binaries, have a look at the workflow files in `.github/workflows` for Windows, GNU/Linux and macOS. These build files call all the other scripts in the repo. If you find something that doesn't make sense, feel free to ask about it [on Gitter](https://gitter.im/VSCodium/Lobby).
2019-05-22 19:09:02 +03:00
2021-12-18 01:21:31 +03:00
The builds are run every day, but exit early if there isn't a new release from Microsoft.
2019-05-22 19:09:02 +03:00
## <a id="supported-platforms"></a>Supported Platforms
2022-07-15 21:29:11 +03:00
The minimal version is limited by the core component Electron, you may want to check its [platform prerequisites](https://www.electronjs.org/docs/latest/development/build-instructions-gn#platform-prerequisites).
2024-02-26 13:47:44 +03:00
- [x] macOS (`zip`, `dmg`) macOS 10.15 or newer x64
- [x] macOS (`zip`, `dmg`) macOS 11.0 or newer arm64
2024-02-26 13:47:44 +03:00
- [x] GNU/Linux x64 (`deb`, `rpm`, `AppImage`, `snap`, `tar.gz`)
- [x] GNU/Linux arm64 (`deb`, `rpm`, `snap`, `tar.gz`)
- [x] GNU/Linux armhf (`deb`, `rpm`, `tar.gz`)
2022-09-19 08:36:55 +03:00
- [x] Windows 10 / Server 2012 R2 or newer x64
- [x] Windows 10 / Server 2012 R2 or newer arm64
2019-04-14 05:51:11 +03:00
## <a id="donate"></a>Donate
2024-02-26 13:49:14 +03:00
If you would like to support the development of VSCodium, feel free to send BTC to `3PgjE95yzBDTrSPxPiqoxSgZFuKPPAix1N` (<a href="https://github.com/stripedpajamas" target="_blank">@stripedpajamas</a>).
2019-04-14 05:51:11 +03:00
2024-02-26 13:47:44 +03:00
## <a id="thanks"></a>Special thanks
<table>
<tr>
<td><a href="https://github.com/jaredreich" target="_blank">@jaredreich</a></td>
<td>for the logo</td>
</tr>
<tr>
<td><a href="https://github.com/PalinuroSec" target="_blank">@PalinuroSec</a></td>
<td>for CDN and domain name</td>
</tr>
<tr>
<td><a href="https://www.macstadium.com" target="_blank"><img src="https://images.prismic.io/macstadium/66fbce64-707e-41f3-b547-241908884716_MacStadium_Logo.png?w=128&q=75" width="128" height="49" alt="MacStadium logo" /></a></td>
<td>for providing a Mac mini M1</td>
</tr>
</table>
2020-07-29 02:38:58 +03:00
## <a id="license"></a>License
2021-02-26 10:31:11 +03:00
[MIT](https://github.com/VSCodium/vscodium/blob/master/LICENSE)