Installing Visual Studio Code

installing via apt

The repository and key can also be installed manually with the following script:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/microsoft-archive-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

Then update the package cache and install the package using:

sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code # or code-insiders

install via snap

You need to install snap by running:

sudo apt install snapd

To install vs code via snap, using the following commands:

sudo snap install code --classic

To run vs code

sudo snap run code

VS Code without MS branding/telemetry/licensing

Take a look at this project:

https://github.com/VSCodium/vscodium

Installation instructions

install via apt

To install it follow this guide:

https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo

install via snap

You need to install snap by running:

sudo apt install snapd

To install codium via snap, using the following commands:

sudo snap install codium --classic

To run codium

sudo snap run codium 


CategoryProprietarySoftware