Difference between revisions of "Homebrew installation"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
==> Checking for `sudo` access (which may request your password)... | ==> Checking for `sudo` access (which may request your password)... | ||
Don't run this as root! | Don't run this as root! | ||
+ | |||
+ | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
+ | ==> Checking for `sudo` access (which may request your password)... | ||
+ | Homebrew on Linux is not supported on ARM processors. | ||
+ | https://docs.brew.sh/Homebrew-on-Linux#arm-unsupported | ||
== User installation == | == User installation == |
Revision as of 14:22, 19 February 2023
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ==> Checking for `sudo` access (which may request your password)... Sorry, user sf may not run sudo on Ms-MacBook-Pro. Need sudo access on macOS (e.g. the user YOUR_USERNAME needs to be an Administrator)!
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Password: ==> Checking for `sudo` access (which may request your password)... Don't run this as root!
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ==> Checking for `sudo` access (which may request your password)... Homebrew on Linux is not supported on ARM processors. https://docs.brew.sh/Homebrew-on-Linux#arm-unsupported
User installation
https://stackoverflow.com/a/55021458
cd $HOME && git clone https://github.com/Homebrew/brew.git && ./brew/bin/brew tap homebrew/core echo "export PATH=$HOME/brew/bin:$PATH" >> ~/.zshrc echo "export PATH=$HOME/brew/bin:$PATH" >> ~/.bashrc
Verify:
du -hs $HOME/brew 640M /Users/YOUR_USER/brew
Related
See also
brew
:update | upgrade | autoupdate
|install
|uninstall
|services
|list
,cask
|cleanup
|doctor
|test
|link
|unlink | changelog
|tap
|info
|search
|install --cask
|analytics off
|--prefix | --version
|brew --help ]
- Homebrew,
brew
,pkgutil, /opt/homebrew/
,installation
Advertising: