Retore $PATH on Mac?


#1

It seems that I have changed the $PATH in bash to a dir that isn’t running node.js without permission issues OR running with sudo. After looking into this, I think that when I installed Python it set a new $PATH. Now that the path is pointing to this Python directory, node.js won’t run npm install -g create-react-app without permission issues.

Is there a way for me to restore the $PATH to the default settings on a Mac? Will this run node.js without permission issues? Will it affect how Python will run in BASH? I feel like such a noob, but wanting things to work again so I can continue to improve.

Below are screen shots, one with the $PATH and one with the Node.js install $PATH suggestion.