vscode在ubuntu中安裝步驟
第一步 :https://code.visualstudio.com/Download
第二部:下載太慢了換地址,我的是這個下載鏈接
https://az764295.vo.msecnd.net/stable/5e805b79fcb6ba4c2d23712967df89a089da575b/code_1.76.1-1678294265_amd64.deb
換成
https://vscode.cdn.azure.cn/stable/5e805b79fcb6ba4c2d23712967df89a089da575b/code_1.76.1-1678294265_amd64.deb
第三部安裝:sudo dpkg -i code_1.76.1-1678294265_amd64.deb,帶顏色的地方是安裝包名字,根據(jù)自己下的安裝包名字替換
第四部:如果是在root用戶下裝的,需要:
vi ~/.bashrc?? 進入這個文件
alias code='/usr/share/code/code . --no-sandbox --unity-launch'? 在末尾按o 添加
source ~/.bashrc 生效文件
標簽: