If you have already installed an old version, you should now be able to update the package via Software Updater (Update Manager): If you don’t have the Code installed, run command: sudo apt install code To add the repository, run command: sudo sh -c 'echo "deb stable main" > /etc/apt//vscode.list'Ĥ. Then install it via command: sudo install -o root -g root -m 644 microsoft.gpg /etc/apt// 3. The key is required so Ubuntu will trust the packages from that repository.įirstly run command in terminal to download the key (install curl if you don’t have it via ‘sudo apt install curl’ command): curl | gpg -dearmor > microsoft.gpg
Enable https support for apt:įirstly, you have to make sure https is supported by running command: sudo apt install apt-transport-https 2. If you’re just looking for the VS Code package for Linux, go to its download page.
And here’s the step by step guide shows you how to add it in your system. Microsoft offers an official apt repository for Debian based systems contains the latest code packages. Want to install the latest Visual Studio Code IDE and keep it updated via Update Manager in Ubuntu, Debian, or Linux Mint?