Thomas
Thomas

Reputation: 417

How to install homebrew manually

I am trying to install homebrew manually. Homebrew works but I have problems with symlinks.

What I have done:

  1. cd into /usr/local
  2. execute mkdir homebrew && curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew
  3. execute usr/local/homebrew/bin/brew install wget

The problem is that there are no symlinks for what homebrew installs. The brew command can not be found in the terminal either. Homebrew lives under /usr/local/homebrew

Upvotes: 6

Views: 10112

Answers (1)

AlessioX
AlessioX

Reputation: 3177

You must configure the PATH for OS X in order to find Homebrew.
That is, you must edit the bash_profile file by adding the following line:

export PATH=/usr/local/homebrew:$PATH

Restart the Terminal session and try again.

Upvotes: 5

Related Questions