-
-
Save nrubin29/bea5aa83e8dfa91370fe83b62dad6dfa to your computer and use it in GitHub Desktop.
# 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 |
Incase needed ,here is the brew config output.
brew config 183 23:46:18
HOMEBREW_VERSION: 2.5.12-275-gef75518
ORIGIN: https://github.com/Homebrew/brew
HEAD: ef755182bbd11bf8f49b0139d089046596ab8fb7
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8d3a0574b1757b6a7a2027d7c3c33dd3b8ac09ed
Core tap last commit: 30 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_REPOSITORY: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit dunno
Clang: 12.0 build 1200
Git: 2.24.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.0.1-arm64
CLT: 12.2.0.0.1.1604076827
Xcode: N/A
Rosetta 2: false
Thank you for making this
Thanks for this! It's great...except I get this ("No such file or directory") every time I do anything with brew, for example %brew doctor
% brew doctor
/opt/homebrew/bin/brew: line 11: cd: /usr/local/Homebrew/bin: No such file or directory
Your system is ready to brew.
Any thoughts? brew works fine (or does it?) but...that message!
Thanks for this! It's great...except I get this ("No such file or directory") every time I do anything with brew, for example %brew doctor
% brew doctor
/opt/homebrew/bin/brew: line 11: cd: /usr/local/Homebrew/bin: No such file or directory
Your system is ready to brew.
Any thoughts? brew works fine (or does it?) but...that message!
do you have any "/usr/local/bin/brew" file exists? or maybe you tried to install brew into "/usr/local/" as in x86 arch, and you didn't remove them clearly?
I can't install it please some can help me with this situation I want to run f-adsk20”. for get an activation code of AutoCAD please help me.
thank you.
Hi Noah
Did you get the error when Homebrew tried to build Python 3.9 on M1 silicon? When I try to install the 1st app , my favorite htop, using "brew install htop", I got this error:
I don't know how to fix it, would you please give some advices?