Ubuntu Desktop 16.04下安装Visual Studio Code

前端之家收集整理的这篇文章主要介绍了Ubuntu Desktop 16.04下安装Visual Studio Code前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

add software source

add key

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

或者用如下命令添加key,两者效果相同。

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -

add source

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

update & install

update

apt update

install

apt install -y code
原文链接:https://www.f2er.com/ubuntu/352366.html

猜你在找的Ubuntu相关文章