A shell script to update VS Code on Linux

twitter logo github logo ใƒป1 min read

I'm not quite sure about Mac users but updating VS Code in Ubuntu manually is always a pain and consumes some of my valuable time which I can use it for other things. Thus I wrote a shell script to update my VS Code just by executing it. [./๐Ÿ˜‰.sh]

Find the script in this GitHubGist.

twitter logo DISCUSS (12)
markdown guide

I've created an improved script for the .tar-gz version, in case anyone is interested:


I think the title should be " A shell script to update VS Code on Ubuntu Linux".

I opened an issue about inline update on Linux distros.



I'm not sure about other Linux distros too.


If you installed it on Debian/Ubuntu-based systems using .deb file it will add the official Microsoft repository to your system's APT sources.


If I'm not wrong I just added the ppa and the VS Code updates automatically every time I fire up the update manager.

Using Linux Mint.

Classic DEV Post from May 10

What do you wish you knew about Developer Relations?

A conversation... what do DevRel professionals wish devs knew about their job? And what do devs wish they knew about DevRel?

Sathish profile image
Developer, SkcriptHQ. Codes without coffee. I work on NodeJS, ReactJS, Ruby on Rails by day & Rust lang by night.