Installing homebrew in an alternative location

Author

Dheepak Krishnamurthy

Published

August 3, 2022

Keywords

homebrew, alternative, install, osx

See https://gist.github.com/pudquick/29bc95b6c49703992981864e48f8e341

  1. Install homebrew in ~/.local/homebrew.

    cd ~/.local/
    mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
  2. Add the following to PATH:

    alias brew=~/.local/homebrew/bin/brew

Reuse

Citation

BibTeX citation:
@online{krishnamurthy2022,
  author = {Krishnamurthy, Dheepak},
  title = {Installing `Homebrew` in an Alternative Location},
  date = {2022-08-03},
  url = {https://kdheepak.com/blog/installing-homebrew-in-an-alternative-location},
  langid = {en}
}
For attribution, please cite this work as:
D. Krishnamurthy, “Installing `homebrew` in an alternative location,” Aug. 03, 2022. https://kdheepak.com/blog/installing-homebrew-in-an-alternative-location.