How to install VSCodium?

Published by Zidan Mohammed


Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under this not-FLOSS license and contains telemetry/tracking. According to this comment from a Visual Studio Code maintainer:

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.

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

The VSCodium project exists so that you don’t have to download+build from source. This project includes special build scripts that clone Microsoft’s vscode repo, run the build commands, and upload the resulting binaries for you to GitHub releases. These binaries are licensed under the MIT license. Telemetry is disabled.

Installation guide:

  1. First you need CHOCOLATEY or SCOOP to install the VSCodium on WINDOWS.
  2. here,we use CHOCOLATEY:
    To Install Chocolatey:
    1. Right click on the start button and run (Command Prompt or Powershell) as administrator.(Powershell is recommended)
      -To Install Powershell watch the easy method on 👉YouTube
    2. Copy-
      Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
      -and paste it in your shell.
    3. Wait a few seconds for the command to complete.
    4. If you don't see any errors, you are ready to use Chocolatey! Type choco or choco -? now, or see Getting Started for usage instructions.
  3. so in order for CHOCOLATEY to work, CLOSE and REOPEN the POWERSHELL (AS ADMIN).
  4. copy the command- choco install vscodium -and paste in your shell.
  5. wait for few seconds for installation to complete.
    after successful completion, close the shell.

C/C++ setup:

Now lets install a toolset for C/C++:

  1. We are going to use gnu/gcc toolset for C, C++ which is known as MinGW in Windows.
  2. Download and install MinGW from- here
    Must watch this tutorial for error free installation and path variable setting.
  3. After the installation run command prompt and type- gcc --version, and if shows any compiler (minGW) as installed, then it’s good to go.

After the above steps let’s prepare for the first program:

  1. Open VSCodium from apps.
  2. Create a workspace folder (Ex: C C++), and select the folder.
  3. Click on files and save the workspace as (Ex: C Programming, etc..).
  4. Open extension marketplace and install (Code Runner) and any other extensions you need.
  5. Now you ready to create your first program.
  6. For the click on New File under the desired workspace.
  7. You run your first program your output will be displayed in the output section where you can’t give any inputs.
  8. So to fix that go to file>preferences>settings>extensions>Run Code configurations and turn on ‘Run In Terminal’ option.
  9. Save the settings.
  10. Do your first program in which you can give the inputs in the terminal section, compile (gcc sample.c), if there are no errors, then run the program (Ctrl+Alt+N).

Python Setup:

  1. We have to install Python 3 software on our system.
  2. Use this video to follow along for an error free installation of Python 3 and path variable setting.
  3. After the installation run command prompt and type python and if it shows any compiler (python 3) as installed, then it’s good to go.
  4. After the process, let’s open VSCodium and install required extensions as shown in the video above.
  5. And fix all the problems carefully.
    Note: In the latest version, the debug fix is NOT required (in some devices).
  6. You are then ready to go.
    (To run a program, we set a default debug confg.)

Install with Brew (Mac):

  1. Open command terminal(enter the following command):
    Install Homebrew (If homebrew is already installed skip step 2)
  2.  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 
  3. brew cask install vscodium

Linux:

VSCodium is pre-installed in Parrot OS. In case you don’t find it by default, you can retrieve it from the official Parrot repo

Open Command Terminal(type the following command)
sudo apt update && sudo apt install vscodium

Debian / Ubuntu (deb package):

  1. Open Command Terminal(type the following command)
    Add the GPG key of the repository:
    wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add –
  2. Add the repository:
    echo 'deb https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list
  3. Update then install vscodium:
    sudo apt update && sudo apt install codium

Fedora / Centos / OpenSUSE (rpm package):

  1. Open Command Terminal(type the following command)
    Add the GPG key of the repository:
    sudo rpm --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
  2. Add the repository:
    For Fedora/RHEL:
    printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg" |sudo tee -a /etc/yum.repos.d/vscodium.repo
  3. For openSUSE/SUSE:
    printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg" |sudo tee -a /etc/zypp/repos.d/vscodium.repo
  4. Install the software:
    For Fedora/RHEL:
    sudo dnf install codium
  5. For openSUSE/SUSE:
    sudo zypper in codium