Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade Visual Studio Code editor?

What's the best way to upgrade Visual Studio Code on Linux Ubuntu?

For the time being I was periodically getting the newest version (.deb) from their official site: https://code.visualstudio.com/

sudo dpkg -i code_*.deb 
like image 473
zurfyx Avatar asked Mar 22 '17 19:03

zurfyx


People also ask

How do I update VS Code editor?

You can also manually check for updates by running Help > Check for Updates on Linux and Windows or running Code > Check for Updates on macOS. Note: You can disable auto-update if you prefer to update VS Code on your own schedule.

What is the latest version of VS Code?

Update 1.70. Welcome to the July 2022 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Title bar customization - Hide/show menu bar, Command Center, or layout control.

How do I check my VS Code version?

You can find the VS Code version information in the About dialog box. On macOS, go to Code > About Visual Studio Code. On Windows and Linux, go to Help > About. The VS Code version is the first Version number listed and has the version format 'major.


2 Answers

Visual Studio Code enabled official Linux repositories on February 2017 (v1.10)

sudo add-apt-repository -y "deb https://packages.microsoft.com/repos/vscode stable main " sudo apt update sudo apt -y install code 

You can upgrade / dist-upgrade as usual

sudo apt -y upgrade sudo apt -y dist-upgrade 
like image 63
zurfyx Avatar answered Oct 05 '22 18:10

zurfyx


[1]: download the latest vscode (.deb) package to your computer on this link :

https://go.microsoft.com/fwlink/?LinkID=760868

, or this there :
https://code.visualstudio.com/docs/

[2]: then open a terminal in the folder where you downloaded the .deb file and write:

sudo dpkg -i <the downloaded file>.deb 

[3]: finally if you have apt-get do (if not install apt-get first):

sudo apt-get install -f 
like image 21
marcdahan Avatar answered Oct 05 '22 19:10

marcdahan