Installing Visual Studio Code with apt

1.用管理员权限更新包与安装必要的文件

sudo apt update
sudo apt install software-properties-common apt-transport-https wget

2.导入Microsoft GPG Key

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

3.安装 VS Code

sudo apt install code

4.更新

sudo apt update
sudo apt upgrade
本文链接地址:https://const.net.cn/8.html

标签: VSCode

添加新评论