5.9. Visual Studio Code editor

Install Visual Studio Code:

  • using Snap:

    1sudo snap install code --classic
    
  • using the offcial PPA:

    1curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /tmp/packages.microsoft.gpg
    2sudo install -o root -g root -m 644 /tmp/packages.microsoft.gpg /usr/share/keyrings/
    3echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list
    4
    5sudo apt update
    6sudo apt install -y code