Reputation: 4828
I installed bower using node package manager but I always get 'bower command not found'.
But if I type /usr/local/share/npm/bin/bower
it works fine.
I read I had to add export PATH=~/usr/local/share/npm/bin:$PATH
to ~/.profile but I'm not sure if I added it correctly
If someone could nudge me in the right direction.
Upvotes: 2
Views: 6757
Reputation: 4828
I edited the wrong file. it was .bash_profile instead of .profile
Upvotes: 2