Bower, Grunt & zsh: command not found:

前端 未结 6 495
忘了有多久
忘了有多久 2021-02-01 21:08

I have installed Grunt & Bower & I\'m using ZSH.

when I type bower --help or grunt anything I get zsh: command not found: bower

6条回答
  •  一向
    一向 (楼主)
    2021-02-01 21:49

    When you installed, did you install globally?

    npm install -g bower
    

    give that a try. If not, also try adding sudo

    sudo npm install -g bower
    

提交回复
热议问题