I accidentally installed firebase-tools and initialized my app in my home directory. Now when I try to use firebase command in the correct directory, I get the error
-bash: firebase: command not found
I have tried uninstalling and reinstalling firebase-tools in both my home directory and the correct directory with and without -g
. I've also added this line to my .bash_profile
per the advice of this question:
export PATH="/Users/myusername/.npm-global/bin:$PATH"
What can I do to fix this?