How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?
Problem
Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source). The first package I tried to install was Git: Installation went OK, but still shows the one in that came along with Lion (I think?). And not the one in that was just installed. As you can see defaults to before in the So, I'm confused! I thought the point of HomeBrew (and something the creators seem to brag about) was that you don't have to mess with the variable!?! So, what did I do wrong?
Error Output
$ brew install git
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?
I found this related post to be very helpful. Instead of changing the variable, it just has you simply edit your file. Homebrew wants me to amend my PATH; no clue how As soon as I followed the directions and put above , my issues were resolved. On OS X, open Terminal Type the command: Enter your password if you're asked for it You will see a list of paths. Edit them so that path is entered above the path *Save and quit Restart Terminal Here's what mine looks like after I did that: *To save and …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix