What is the best/safest way to reinstall Homebrew?

Update 10/11/2020 to reflect the latest brew changes. Brew already provide a command to uninstall itself (this will remove everything you installed with Homebrew): /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)” If you failed to run this command due to permission (like run as second user), run again with sudo Then you can install again: /bin/bash -c … Read more

Where to find extensions installed folder for Google Chrome on Mac?

The default locations of Chrome’s profile directory are documented in the User Data Directory article on Googlesource.com. (When this article was written in 2013, the User Data Directory article was at chromium.org.) It says there, To determine the user data directory for a running Chrome instance: Navigate to chrome://version Look for the Profile Path field. … Read more

.ssh/config: “Bad configuration option: UseKeychain” on Mac OS Sierra 10.12.6

Try to specify another option, namely IgnoreUnknown like below: Host * IgnoreUnknown UseKeychain UseKeychain yes You can find more info about this here. If you already have an IgnoreUnknown value, use comma separated values Host * IgnoreUnknown AddKeysToAgent,UseKeychain AddKeysToAgent yes UseKeychain yes If you have multiple Host configs that use the UseKeychain option, make sure … Read more

(Mac) -bash: __git_ps1: command not found

You’ve installed the version of git-completion.bash from master – in git’s development history this is after a commit that split out the __git_ps1 function from the completion functionality into a new file (git-prompt.sh). The commit that introduced this change, which explains the rationale, is af31a456. I would still suggest that you just source the version … Read more

Installing Homebrew on macOS

It’s on the top of the Homebrew homepage. From a Terminal prompt: /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” The command brew install wget is an example of how to use Homebrew to install another application (in this case, wget) after brew is already installed. Historic… Before about 2020, the command given on the Homebrew page was: … Read more

tech