How to update Visual Studio Code in Ubuntu 20.04 LTS without downloading the full setup?
After installing, you should have the following file:
/etc/apt/sources.list.d/vscode.list
with this content:
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
This will allow you to update it with apt
sudo apt update
sudo apt upgrade
Related videos on Youtube
Comments
-
NoobCodeTyper almost 2 years
I shifted to Ubuntu 20.04 LTS 3 weeks ago from Windows 10. I use Visual Studio Code and whenever I get an update in Update it shows in Settings > Download Update(1). When I click on download update, firefox opens up and then I have to download Visual Studio Code Setup from there and then I have to install it. This is what I have to do everytime. In Windows, I just had to click the Download Update button then the update would automatically be downloaded.
Please tell me if there is any way to update Visual Studio Code easily like using termianl?
Thanks in Advance
PS: Sorry for my bad English as it's not my native language, I may have committed some grammatical mistakes.
-
Admin over 3 yearsDid you install it from a download or the PPA?
-
Admin over 3 yearsI installed it using the downloaded the .deb file from the official website and then installed it using 'sudo dpkg -i'
-
Admin over 3 yearsDoes this answer your question? How can I update Visual Studio Code on Ubuntu?
-
-
Muhammad Tariq over 3 years
sudo apt upgrade
will upgrade the Ubuntu OS as well? Not just VS Code. Isn't it ? The question is about how to upgrade VS Code only.