Manually Update VS Code for Ubuntu Linux

When VS Code prompts me to update, I usually need to search the web for the little wget + dpkg snippet to run the update. Stashing it here for quick reference next time:

wget 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' -O /tmp/code_latest_amd64.deb
sudo dpkg -i /tmp/code_latest_amd64.deb

Source:
https://askubuntu.com/questions/833448/how-can-i-update-visual-studio-code-on-ubuntu

Thank you, Joe, it still works!*

At some point I should add the automatic update script to my Ansible Ubuntu WebDev Machine Setup script.

*The amazing Ubuntu community has kept the command up-to-date and optimized for the past 5 years! Thank you:

Zanna
Peter
Kevin
and
Federico

Published by

alex

This is me.

Leave a Reply

Your email address will not be published. Required fields are marked *