Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save VincentSit/38829f315f32d5444e8a01bcafa7cc61 to your computer and use it in GitHub Desktop.

Select an option

Save VincentSit/38829f315f32d5444e8a01bcafa7cc61 to your computer and use it in GitHub Desktop.
卸载千问输入法
研究结论:千问输入法没有自带卸载程序,需要手动删除。 从安装包 /Users/vincentsit/Downloads/QianwenIMEInstaller_V1.0.0.13.app 内部的
macos_install_core.sh 看,它把输入法装到 /Library/Input Methods/QianwenIME.app,并写入 ~/Library/Application Support 和
~/Library/Preferences。
卸载方法
方法 1:图形界面(推荐,适合普通用户)
1. 系统设置 → 键盘 → 输入法,把「千问输入法」点 - 移除
2. 打开 Finder,按 Cmd+Shift+G 前往:
• /Library/Input Methods/
3. 把 QianwenIME.app 拖到废纸篓,需要输入管理员密码
4. 重启 Mac,或在终端执行:
```bash
killall QianwenIME QianwenIMEService crashpad_handler TextInputMenuAgent TextInputSwitcher SystemUIServer
```
方法 2:终端彻底卸载(可复制执行)
```bash
# 1. 先切到 ABC,避免卸载时正在使用
osascript -e 'tell application "System Events" to keystroke "space" using {control down}' 2>/dev/null || true
# 2. 结束千问相关进程
sudo killall QianwenIME QianwenIMEService crashpad_handler TextInputMenuAgent TextInputSwitcher SystemUIServer 2>/dev/null ||
true
# 3. 删除输入法本体(当前版本和旧版本)
sudo rm -rf "/Library/Input Methods/QianwenIME.app"
sudo rm -rf "/Library/Input Methods/Qianwen.app"
# 4. 删除用户数据和偏好设置
rm -rf "$HOME/Library/Application Support/Qianwen"
rm -rf "$HOME/Library/Application Support/QianwenIME"
rm -f "$HOME/Library/Preferences/com.qianwen.inputmethod.desktopime.plist"
rm -f "$HOME/Library/Preferences/com.qianwen.inputmethod.desktopime.service.plist"
rm -f "$HOME/Library/Preferences/com.qianwen.inputmethod.desktopime.installer.plist"
# 5. 可选:从系统输入法列表缓存里清理(不删一般也没事)
sudo rm -rf "$HOME/Library/Caches/com.apple.TextInputMenuAgent" \
"$HOME/Library/Caches/com.apple.TextInputSwitcher"
```
执行后注销并重新登录一次最干净。
我查到的关键安装信息
┌─────────────┬───────────────────────────────────────────────────────────────────────────────────┐
│ 项目 │ 路径/ID │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ 安装位置 │ /Library/Input Methods/QianwenIME.app │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ 旧版本位置 │ /Library/Input Methods/Qianwen.app │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ Bundle ID │ com.qianwen.inputmethod.desktopime │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ 输入法源 ID │ com.qianwen.inputmethod.desktopime.hans │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ 后台服务 │ QianwenIMEService.app(嵌在主程序里) │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ 用户数据 │ ~/Library/Application Support/Qianwen 和 ~/Library/Application Support/QianwenIME │
├─────────────┼───────────────────────────────────────────────────────────────────────────────────┤
│ 偏好设置 │ ~/Library/Preferences/com.qianwen.inputmethod.desktopime*.plist │
└─────────────┴───────────────────────────────────────────────────────────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment