Search This Blog

Install Visual Studio Code on Rocky Linux

  • sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
  • sudo vi /etc/yum.repos.d/vscode.repo
    [code] 
    name=Visual Studio Code 
    baseurl=https://packages.microsoft.com/yumrepos/vscode 
    enabled=1 
    gpgcheck=1 
    gpgkey=https://packages.microsoft.com/keys/microsoft.asc 
  • sudo dnf install code

No comments:

Post a Comment