美文网首页
Ubuntu 18.04 : install vscode

Ubuntu 18.04 : install vscode

作者: goldenfiredo | 来源:发表于2020-04-09 15:53 被阅读0次

1. update the packages index and install the dependencies by typing:

sudo apt update

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

2. import the Microsoft GPG key using the following wget command:

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

3. enable the Visual Studio Code repository by typing:

sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

4. sudo apt update; sudo apt install code

相关文章

网友评论

      本文标题:Ubuntu 18.04 : install vscode

      本文链接:https://www.haomeiwen.com/subject/vwmcmhtx.html