"arch -x86_64 brew install MinGW-w64" is not working (Terminal issue)
i would like to use visual studio code and for that i need to install MinGw compiler.
i have already installed Homebrew successfully but when i tap this command "arch -x86_64 brew install MinGW-w64"
i always get this error:
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
nourzakor@Nours-MacBook ~ %
Homebrew was installed successfully:
the Error that i keep getting:
i have a macbook pro 14 m1pro, please help me fix this issue because i need to code!