When I do 'open .profile' in the terminal I have the following:
Now I installed node.js for Mac and it says,
Make sure that /usr/local/bin is in your $PATH.
How can I add
/usr/local/bin to export
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.