unable to install homebrew in mac os
<p>I am unable to install homebrew in my macOS:</p>

<p>My input and output in terminal was:</p>

<pre><code>apalyas-MacBook-pro:~ apalya$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==&gt;This script will install
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site_function/_brew
/usr/local/hombrew

press RETURN or any other key to abort
==&gt; downloading and installing homebrew...
mkdir: /usr/local/Library: permission denied
failed during: /bin/mkdir -p /usr/local/Library/Taps/homebrew/homebrew-core
</code></pre>

<p>Please help me in this regard.</p>