sudo curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc sudo apt install software-properties-common apt-transport-https wget sudo sudo apt-add-repository "deb [arch=amd64] https://packages.microsoft.com/ubuntu/22.04/prod" sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" sudo apt install microsoft-edge-stable sudo apt install visual-studio-code