# Update the packages index and install the dependencies by running the following # command as a user with sudo privileges :==>sudoapt update
==>sudoaptinstall software-properties-common apt-transport-https wget# Import the Microsoft GPG key using the following wget command :==>wget-q https://packages.microsoft.com/keys/microsoft.asc -O- |sudo apt-key add -
# And enable the Visual Studio Code repository by typing:==>sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"# Once the apt repository is enabled , install the Visual Studio Code package:==>sudoaptinstall code
# When a new version is released you can update the Visual Studio Code package # through your desktop standard Software Update tool or by running the following commands in your terminal:==>sudoapt update
==>sudoapt upgrade
// With love @kouqhar
go to https://code.visualstudio.com/download then download .deb fileif you already have gdebi installed you can run sudo gdebi code_1.55.0-1617120720_amd64.deb