Problem that we can solve:
- command not found: gh
- command not found: brew
1. Press Command+Space and type Terminal and press enter/return key.
2. Copy and paste the following command in the Terminal app.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and press enter/return key. Wait for the command to finish.
3. Copy and paste the following command in Terminal app.
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
4. Copy and paste the following command:
brew install gh
5. If gh is still not working,
eval $(/opt/homebrew/bin/brew shellenv)
6. Copy and paste the following command:
brew install gh
ref:
1. https://macappstore.org/gh/
2. https://apple.stackexchange.com/questions/148901/why-does-my-brew-installation-not-work
댓글 없음:
댓글 쓰기