zl程序教程

您现在的位置是:首页 >  工具

当前栏目

Ubuntu安装VScode(搬运命令行)「建议收藏」

VSCode安装命令行Ubuntu 建议 收藏 搬运
2023-06-13 09:13:40 时间

大家好,又见面了,我是你们的朋友全栈君。

To install Visual Studio Code on your Ubuntu system, follow these steps.

First, update the packages index and install the dependencies by typing:

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

Next, import the Microsoft GPG key using the following wget command :

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

And enable the Visual Studio Code repository by typing:

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

Once the apt repository is enabled , install the latest version of Visual Studio Code with:

sudo apt update
sudo apt install code

That’s it. Visual Studio Code has been installed on your Ubuntu desktop and you can start using it.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/192175.html原文链接:https://javaforall.cn