You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何卸载Windows平台的berrybrew(Windows版perlbrew)?

Uninstalling berrybrew on Windows

Hey there, I’ve worked with berrybrew on Windows before, so I can walk you through a clean uninstall since the official docs don’t cover this. Your initial guess was on the right track, but there are a couple extra steps to make sure everything’s wiped properly:

  • Shut down any running Perl processes that were launched via berrybrew. File locks from active instances can block you from deleting folders later.
  • Delete the main berrybrew installation folder: If you picked a custom location during setup, navigate there and remove it. The default is typically something like C:\Program Files\berrybrew.
  • Wipe the C:\berrybrew storage directory: This is where all the Perl distros managed by berrybrew live—you were correct that deleting this is key for a full reset.
  • Clean up your system’s environment variables: Berrybrew adds entries to your Path so you can run it from any command prompt, plus possibly a BERRYBREW_HOME variable. Here’s how to remove them:
    1. Open Control Panel → System → Advanced System Settings → Environment Variables.
    2. Check both User Variables and System Variables sections:
      • Find any Path entries pointing to berrybrew’s bin folder and delete them.
      • Look for a BERRYBREW_HOME variable (if it exists) and remove that too.
  • Double-check the uninstall: Open a brand new command prompt (old prompts keep cached environment variables) and run berrybrew --version. If it throws an error saying the command isn’t recognized, you’re good to go.

If you only wanted to reset berrybrew instead of a full uninstall, you could skip deleting the main installation folder and just wipe C:\berrybrew + reset environment variables. But for a totally clean reinstall, follow all the steps above.

内容的提问来源于stack exchange,提问作者Stephen

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 10:05:04