title: How does one install rlwrap on a mac os?
body: <p>I have mac and I had this software installed before and working so not sure what changed. This is the commands:</p>
  <pre><code>(meta_learning) brandomiranda~ ❯ rlwrap sertop --printer=human
  
  zsh: command not found: rlwrap
  (meta_learning) brandomiranda~ ❯ rlwrap
  zsh: command not found: rlwrap
  (meta_learning) brandomiranda~ ❯ brew install rlwrap
  Warning: No available formula with the name &quot;rlwrap&quot;.
  ==&gt; Searching for similarly named formulae...
  Error: No similarly named formulae found.
  ==&gt; Searching for a previously deleted formula (in the last month)...
  Error: No previously deleted formula found.
  ==&gt; Searching taps on GitHub...
  Error: No formulae found in taps.
  (meta_learning) brandomiranda~ ❯ brew uninstall rlwrap
  Error: No available formula with the name &quot;rlwrap&quot;.
  (meta_learning) brandomiranda~ ❯ brew reinstall rlwrap
  Error: No available formula with the name &quot;rlwrap&quot;.
  (meta_learning) brandomiranda~ ❯ brew install rlwrap
  fatal: Could not resolve HEAD to a revision
  Running `brew update --auto-update`...
  ==&gt; Auto-updated Homebrew!
  Updated 1 tap (homebrew/cask).
  
  You have 2 outdated casks installed.
  You can upgrade them with brew upgrade
  or list them with brew outdated.
  
  Warning: No available formula with the name &quot;rlwrap&quot;.
  ==&gt; Searching for similarly named formulae...
  Error: No similarly named formulae found.
  ==&gt; Searching for a previously deleted formula (in the last month)...
  Error: No previously deleted formula found.
  ==&gt; Searching taps on GitHub...
  Error: No formulae found in taps.
  (meta_learning) brandomiranda~ ❯ rlwrap
  zsh: command not found: rlwrap
  </code></pre>
  <p>I am not sure if it has something to do with my m1 chip arm...but I thought I had it working in my m1 machine. Does brew know what type of mac I have? Does the brew command work for the x86 arch at least?</p>
  <p>also the brew formula exists <a href="https://formulae.brew.sh/formula/rlwrap" rel="nofollow noreferrer">https://formulae.brew.sh/formula/rlwrap</a> but it says it doesn't...?! Why?</p>
  <hr />
  <p>see the website:</p>
  <p><a href="https://i.stack.imgur.com/tjx2t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tjx2t.png" alt="enter image description here" /></a></p>
  <p>my mac is a Monterrey 12.5.1, it should work...?</p>
  <hr />
  <p>related links:</p>
  <ul>
  <li>saw this but it's for linux: <a href="https://bjornnaessens.wordpress.com/2012/08/14/installing-rlwrap-on-linux-saves-you-time/" rel="nofollow noreferrer">https://bjornnaessens.wordpress.com/2012/08/14/installing-rlwrap-on-linux-saves-you-time/</a></li>
  <li>saw <a href="https://stackoverflow.com/questions/15093519/rlwrap-mac-os-x-install-error">rlwrap mac os x install error</a> but our errors are different</li>
  <li>saw <a href="https://stackoverflow.com/questions/47405342/getting-error-to-install-rlwrap">Getting error to install rlwrap</a> but uses yum? what is that? scared of running weird commands...</li>
  <li>cross: <a href="https://www.reddit.com/r/apple/comments/xf2hoh/how_does_one_install_rlwrap_on_a_mac_os/" rel="nofollow noreferrer">https://www.reddit.com/r/apple/comments/xf2hoh/how_does_one_install_rlwrap_on_a_mac_os/</a> and <a href="https://github.com/ejgallego/coq-serapi/issues/279" rel="nofollow noreferrer">https://github.com/ejgallego/coq-serapi/issues/279</a></li>
  <li>git issue for brew formula: <a href="https://github.com/hanslub42/rlwrap/issues/163" rel="nofollow noreferrer">https://github.com/hanslub42/rlwrap/issues/163</a></li>
  </ul>