xxxxxxxxxx
go to https://code.visualstudio.com/download then download .deb file if you already have gdebi installed you can run sudo gdebi code_1.55.0-1617120720_amd64.deb
xxxxxxxxxx
sudo apt install software-properties-common apt-transport-https wget
xxxxxxxxxx
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"