Every time I see “just add /usr/local/whatever/” to your path in some documentation I just want to scream! I’m no bash, zsrch, etc officianado so I just want to curl up into a ball trying to work out how to do this!
Fortunately I have discovered that this snippet works just fine so far for all the paths I’ve needed to add for OSX Catalina.
Simply type the following and VOILA! Your path will now include the new path you added.
echo 'export PATH="$PATH:/PATH/TO/YOUR/THING"' >> ~/.zshrc
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.zshrc
Leave a Reply