How to add /usr/local/bin in $PATH on Mac
When I do ‘open .profile‘ in the terminal I have the following:
Now I installed node.js for Mac and it says,
- Get a “git command not found” error on mac though .profile file is updated
- Change Avatar Next to GitHub Username (For Commits)
Make sure that /usr/local/bin is in your $PATH.
How can I add
/usr/local/bin to export
3 Solutions collect form web for “How to add /usr/local/bin in $PATH on Mac”
One note: you don’t need quotation marks here because it’s on the right hand side of an assignment, but in general, and especially on Macs with their tradition of spacy pathnames, expansions like
$PATH should be double-quoted as
Try placing $PATH at the end.
I’ve had the same problem with you.
cd to ../etc/
then use ls to make sure your “paths” file is in ,
vim paths, add “/usr/local/bin” at the end of the file.