Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to install vscode on centos 8

-Import the Microsoft GPG key:


$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc


-create the repository file in /etc/yum.repos.d/vscode.repo


$ sudo nano /etc/yum.repos.d/vscode.repo


-and type the below code


[code]
name = Visual Studio Code
baseurl = https://packages.microsoft.com/yumrepos/vscode
enabled = 1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc


-Save the file press ctrl+x, the press y, hit Enter


$ sudo yum check-update


-Install Visual Studio Code type this command


$ sudo yum install code


-Successfully installed vscode
Source by # #
 
PREVIOUS NEXT
Tagged: #How #install #vscode #centos
ADD COMMENT
Topic
Name
7+1 =