安装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\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/vscode.repo'


sudo zypper refresh

sudo zypper install code


 
posted @ 2022-05-30 21:27  荧光の微冷  阅读(48)  评论(0编辑  收藏  举报