title: Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)
body: <p>I use the latest <code>Apple M1</code> chip processor. And I keep getting errors while application installation.</p>
  <p>say.,</p>
  <pre><code>brew install openjdk@11
  </code></pre>
  <pre><code>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
  &quot;Alternative Installs&quot; from:
    https://docs.brew.sh/Installation
  You can migrate your previously installed formula list with:
    brew bundle dump
  </code></pre>
  <p>Need help with exact steps to follow.</p>