This commit is contained in:
luk
2024-05-24 11:17:37 +08:00
parent 3289d846ad
commit fc712a068f
3 changed files with 14 additions and 10 deletions

View File

@@ -4,6 +4,8 @@ echo "Installing Homebrew on MacOS"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# default brew path: /opt/homebrew for Apple Silicon, /usr/local/Homebrew for macOS Intel and /home/linuxbrew/.linuxbrew for Linux
echo "if `brew --repo homebrew/core` not exists, you may need to git clone https://github.com/Homebrew/homebrew-core.git as well as for homebrew-cask"
# add brew to path on Apple Silicon:
# (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/luk/.bash_profile
# eval "$(/opt/homebrew/bin/brew shellenv)"
@@ -18,4 +20,4 @@ echo "Installing Homebrew on MacOS"
# uninstall: https://github.com/homebrew/install#uninstall-homebrew
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
# install emacs: brew cask install emacs