UBUNTU安装VSC
时间: 2023-08-23 20:17:35 浏览: 146
要在Ubuntu上安装Visual Studio Code (VSC),可以按照以下步骤进行操作:
1. 打开终端并输入以下命令以添加VSC的源仓库:
```
sudo add-apt-repository "deb \[arch=amd64\] https://packages.microsoft.com/repos/vscode stable main"
```
\[1\]
2. 更新软件包列表:
```
sudo apt update
```
3. 安装VSC:
```
sudo apt install code
```
4. 如果你想在终端中使用`code`命令来启动VSC,可以执行以下命令:
```
echo 'export PATH="$PATH:/usr/share/code"' >> ~/.bashrc
source ~/.bashrc
```
这样,你就成功地在Ubuntu上安装了Visual Studio Code。希望这对你有帮助!
#### 引用[.reference_title]
- *1* *3* [Ubuntu安装VS Code](https://blog.csdn.net/weixin_44733606/article/details/131662272)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Ubuntu下vsc+python3配置](https://blog.csdn.net/weixin_39780255/article/details/111835830)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文