update vs code in ubuntu
wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb sudo dpkg -i /tmp/code_latest_amd64.deb
Here is what the above code is Doing:
1. Install the apt-transport-https package, which is required to fetch packages over HTTPS.
2. Add the Microsoft GPG key to your system.
3. Add the VS Code repository to your system’s software repository list.
4. Update your system’s software list.
5. Install VS Code.