Updating Visual Studio Code Under Linux

When it comes to Visual Studio Code, some prefer to download the binary directly from Microsoft. However, with frequent updates come unnecessary manual labor.

The following is a shell script you run when a new version is released:

The alternative:

sudo snap install code --classic

That’s all, folks!