卸載方式與安裝方式有關(guān)系。
我是通過(guò)apt安裝deb包安裝的vscode。安裝方式https://code.visualstudio.com/docs/setup/linux
所以卸載命令就是簡(jiǎn)單的
sudo apt-get remove code
除了卸載軟件,如果要干凈地卸載,還要?jiǎng)h除vscode在本地的緩存與配置等文件。一般在家目錄下的.vscode與.config/Code下,直接刪除即可。
Windows - 刪除 %APPDATA%\Code and %USERPROFILE%\.vscode.
macOS - 刪除 $HOME/Library/Application Support/Code and ~/.vscode.
Linux - 刪除 $HOME/.config/Code and ~/.vscode.文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-467433.html
nhj@u22:~$rm -rf .config/Code/
nhj@u22:~$rm -rf .vscode/
官方的卸載方式文檔在這:https://code.visualstudio.com/docs/setup/uninstall文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-467433.html
到了這里,關(guān)于Ubuntu20干凈卸載vscode的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!