Hey there - I actually know what this is now. This is due to your mac most likely having a M1 chip.
Make sure you have Rosetta 2 installed - How to Install Rosetta 2 on Apple Silicon Macs
And then run your commands with the prefix arch -x86_64
. You can also create a terminal that defaults to that architecture as well - Run x86 Terminal Apps (Like Homebrew) on Your New M1 Mac | by Ahad Sheriff | The Startup | Medium
Hope this helps.