Help me with this problem while installing game porting tool

Warning: apple/apple/game-porting-toolkit 1.0.4 is already installed and up-to-date. To reinstall 1.0.4, run: brew reinstall game-porting-toolkit

dmitrxx@MacBook-Pro-Dima ~ % WINEPREFIX=~/Win10 brew --prefix game-porting-toolkit/bin/wine64 winecfg Error: undefined method __prefix' for Homebrew:Module Please report this issue: https://docs.brew.sh/Troubleshooting /usr/local/Homebrew/Library/Homebrew/brew.rb:86:in <main>' zsh: no such file or directory: /bin/wine64 dmitrxx@MacBook-Pro-Dima ~ %

Replies

Try uninstalling it with this command: brew -v uninstall apple/apple/game-porting-toolkit If not, try deleting homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" Also, check the homebrew web! https://brew.sh/