Issue: Homebrew install
Found the below error
error: RPC failed; curl 56 LibreSSL SSL_read: Operation timed out, errno 60error: 58263 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: git fetch --force origin refs/heads/master:refs/remotes/origin/master
Solution:
1. Run
git config --global http.postBuffer 524288000
2. Uninstall
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
3. Re-install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Run these three commands in your terminal to add Homebrew to your PATH:
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /<YOUR PATH>/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /<YOUR PATH>/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
https://docs.brew.sh