[mac]Gruntがcommand not found: gruntになる件
gruntを使ってみようと思い、
npm install -g grunt-cli
npm install grunt --save-devでインストールを行ったもののコマンドを実行すると
command not found: gruntのエラーが。
anyenvのndenvでnodejsをインストールしていたので
ndenv rehashを実行する必要がありました。
ちょっとハマったのでメモ。
gruntを使ってみようと思い、
npm install -g grunt-cli
npm install grunt --save-devでインストールを行ったもののコマンドを実行すると
command not found: gruntのエラーが。
anyenvのndenvでnodejsをインストールしていたので
ndenv rehashを実行する必要がありました。
ちょっとハマったのでメモ。