All Articles

Visual Studio Code PPA For Linux Mint

First we need to install the apt-transport-https package.

$ sudo apt install apt-transport-https

Import the key and install it.

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

Update apt and install Visual Studio Code.

$ sudo apt update

$ sudo apt install code

Happy coding!