How to study Hive on MacOS

Instructions

Install

  • We must install x86-64 compatible homebrew.
  1. Download Homebrew
curl -L https://github.com/Homebrew/brew/tarball/master --output homebrew.tar
  1. Extract and move
sudo tar -xvf homebrew.tar -C /usr/local
cd /usr/local
sudo mv Homebrew-brew-f30f68b homebrew
  1. chown
sudo chown -R user homebrew
  1. Edit .zhsrc
export PATH=/usr/local/homebrew/sbin:/usr/local/homebrew/bin:$PATH
alias axbrew='arch -x86_64 /usr/local/homebrew/bin/brew'
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
  1. Install hive
axbrew install hive

Reference