Christophe
Christophe

Reputation: 4828

npm: issue with bower command not found

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

enter image description here

If someone could nudge me in the right direction.

Upvotes: 2

Views: 6757

Answers (1)

Christophe
Christophe

Reputation: 4828

I edited the wrong file. it was .bash_profile instead of .profile

Upvotes: 2

Related Questions