title: What is the correct way to install homebrew on a MacBook Pro M1, 2020?
body: <p>Specifically I am trying to learn about cython and compiling. I was told to install <strong>homebrew</strong> (/opt/homebrew/), <strong>gcc</strong>, <strong>python development version</strong>, and lastly <strong>cython</strong>. Unfortunately I keep running into issues when attempting to compile from python to C/++, these issues seem to be with the way they are installed. I’ve tried so many things to attempt to fix the errors but nothing has worked, So my plane was to uninstall and reinstall the correct way, and I was hoping someone would be able to help me with this.</p>
  <p>NOTE -&gt; using rosetta2 terminal, visual studio code and also have anaconda installed.</p>
  <p><strong>Questions:</strong></p>
  <ol>
  <li>Should I be running on Rosetta2 or M1 native architecture?</li>
  <li>Proper ways to install homebrew, cython, gcc, and python dev version.</li>
  </ol>
  <p>Thank you!</p>