Ubuntu 18.04 : install vscode

2020-04-09  本文已影响0人  goldenfiredo

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

上一篇 下一篇

猜你喜欢

热点阅读