Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MacOS10.7.5にノードv0.8.14をインストールしました。次に、Gruntをでインストールしましnpm install -g gruntた。
npm install -g grunt
Nodeは完全に機能しますが、Gruntは機能しません。それは言い続けます:-bash: exec: grunt: not found
-bash: exec: grunt: not found
私が欠けているものはありますか?
デフォルトでは、npmは/ usr/localにインストールされます。/usr/local/bin/gruntシェルで試してみてください。簡単に入力できるようにするにはgrunt、を追加します
/usr/local/bin/grunt
grunt
export PATH="$PATH:/usr/local/bin"
~/.profileファイルに。
~/.profile