u
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
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
|
||||
# add brew to path:
|
||||
|
||||
# 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)"
|
||||
#
|
||||
# 实际上执行了:
|
||||
# export HOMEBREW_PREFIX="/opt/homebrew";
|
||||
# export HOMEBREW_CELLAR="/opt/homebrew/Cellar";
|
||||
# export HOMEBREW_REPOSITORY="/opt/homebrew";
|
||||
@@ -15,7 +16,6 @@ echo "Installing Homebrew on MacOS"
|
||||
# export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
|
||||
#
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user