====== Programming - Visual Studio - Install Visual Studio ======
===== Install using snap =====
sudo snap install --classic code # or code-insiders
----
===== Install using apt =====
==== Update the system repository ====
sudo apt update
----
==== Install Package Dependencies ====
sudo apt install software-properties-common apt-transport-https wget -y
----
==== Add GPG Key ====
Import the GPG key provided by Microsoft to verify the package integrity.
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
----
==== Add Repository ====
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
----
==== Install vscode ====
sudo apt install code
----
===== References =====
https://code.visualstudio.com/docs/setup/linux