1、现在应用程序中删除Idea
2、进入Library
目录
cd /Users/zhengzhaoxiang/Library
3、删除IntelliJIdea2023.3
(根据自己的版本而定)记得进去看下是否删除干净了
rm -rf Logs/JetBrains/IntelliJIdea2023.3
rm -rf Preferences/com.jetbrains.intellij.plist
rm -rf Preferences/com.jetbrains.jbr.java.plist
rm -rf Preferences/jetbrains.jetprofile.asset.plist
rm -rf Application\ Support/JetBrains/
rm -rf Caches/JetBrains
这样就卸载成功了,就可以安装新的IDEA
了