Game Porting Toolkit issue 1.02 installment

How do I fix this, I type brew upgrade in terminal and this popped up.

Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! Please create a new installation in /opt/homebrew using one of the "Alternative Installs" from: https://docs.brew.sh/Installation You can migrate your previously installed formula list with: brew bundle dump

Have you found a solution?

Use “arch -x86_64 zsh” before running that command.

It works. Now there is a new issue.

Game Porting Toolkit issue 1.02 installment
 
 
Q