๊ณต์ ํํ์ด์ง์ ๋์์๋
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
์ ๋ช
๋ น์ด๋ M1์์๋ $ zsh command not found brew
๊ณผ ๊ฐ์ ๊ฒฐ๊ณผ๋ฅผ ์ค๋ค.
M1 Mac์์ HomeBrew๋ฅผ ์ค์นํ๋ ๋ฐฉ๋ฒ์ ์๋์ ๊ฐ๋ค.
# We'll be installing Homebrew in the /opt directory.
cd /opt
# Create a directory for Homebrew. This requires root permissions.
sudo mkdir homebrew
# Make us the owner of the directory so that we no longer require root permissions.
sudo chown -R $(whoami) /opt/homebrew
# Download and unzip Homebrew. This command can be found at https://docs.brew.sh/Installation.
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
# Add the Homebrew bin directory to the PATH. If you don't use zsh, you'll need to do this yourself.
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
brew์ ํจ๊ป ์ฆ๊ฑฐ์ด ๊ฐ๋ฐ์ ์์ํ๋ฉด ๋๋ค. ๐
์๋ ํ์ธ์! ์ด ๊ธ ๋ณด๊ณ ํด๊ฒฐํ์ด์
๊ธ ์จ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค๐ฅณ! ์์ด ์์ํด์!