tongqingliu

保持学习的态度

centos7用过yum安装vscode

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
yum check-update
sudo yum install code -y

参考:https://code.visualstudio.com/docs/setup/linux

posted on 2020-08-22 16:03  tongqingliu  阅读(1099)  评论(0编辑  收藏  举报

导航