
Homebrew 설치 과정에서
아래와 같은 오류가 뜹니다 ㅠ
Last login: Tue Feb 14 23:09:03 on ttys000
hyunseoh@Hyunseui-noteubug ~ %
hyunseoh@Hyunseui-noteubug ~ % brew search node
brew install node@16
zsh: command not found: brew
zsh: command not found: brew
hyunseoh@Hyunseui-noteubug ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R hyunseoh:admin /opt/homebrew
==> Downloading and installing Homebrew...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 17 (delta 14), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (17/17), 2.39 KiB | 144.00 KiB/s, done.
From https://github.com/Homebrew/brew
cedd4d33e..66c9d5f2a master -> origin/master
HEAD is now at 66c9d5f2a Merge pull request #14620 from Kentzo/sudo-env
Warning: /opt/homebrew/bin is not in your PATH.
Instructions on how to configure your shell for Homebrew
can be found in the 'Next steps' section below.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/hyunseoh/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
hyunseoh@Hyunseui-noteubug ~ %
hyunseoh@Hyunseui-noteubug ~ % brew search node
brew install node@16
zsh: command not found: brew
zsh: command not found: brew
hyunseoh@Hyunseui-noteubug ~ % echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/bagdahae/.zprofile
zsh: no such file or directory: /Users/bagdahae/.zprofile
hyunseoh@Hyunseui-noteubug ~ % echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/bagdahae/.zprofile
zsh: no such file or directory: /Users/bagdahae/.zprofile
hyunseoh@Hyunseui-noteubug ~ % eval "$(/opt/homebrew/bin/brew shellenv)"
hyunseoh@Hyunseui-noteubug ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R hyunseoh:admin /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at 66c9d5f2a Merge pull request #14620 from Kentzo/sudo-env
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/hyunseoh/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
