Editing Homebrew installation
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | + | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
− | /bin/ | ||
==> Checking for `sudo` access (which may request your password)... | ==> Checking for `sudo` access (which may request your password)... | ||
− | Sorry, user sf may not run sudo on | + | 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]])! | Need sudo access on macOS (e.g. the user YOUR_USERNAME needs to be an [[Administrator]])! | ||
Line 11: | 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! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== User installation == | == User installation == | ||
https://stackoverflow.com/a/55021458 | https://stackoverflow.com/a/55021458 | ||
− | + | cd $HOME && [[git clone]] https://github.com/Homebrew/brew.git | |
+ | ./brew/bin/brew tap homebrew/core | ||
+ | [[export]] PATH=$HOME/brew/bin:$PATH >> ~/[[.zshrc]] | ||
+ | [[export]] PATH=$HOME/brew/bin:$PATH >> ~/[[.bashrc]] | ||
Verify: | Verify: | ||
− | + | [[exec]] [[$SHELL]] | |
− | + | which brew # see that brew is found in your path | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
* <code>[[brew install]]</code> | * <code>[[brew install]]</code> | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{brew}} | * {{brew}} | ||
− | |||
[[Category:macOS]] | [[Category:macOS]] |
Advertising: