【Linux】CentOS7 C#开发环境搭建笔记(Visual Studio Code安装)

Visual Studio Code

1、Visual Studio Code安装

$ 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

执行上述命令后根据提示逐步即可进行安装

  • 参考
    https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions

你可能感兴趣的:(Linux)