为什么我得到 "ghcjs-boot: command not found"?

Why do I get "ghcjs-boot: command not found"?

我已经通过命令安装了ghcjs

cabal install ./ghcjs ./ghcjs-prim

我得到了类似

Updating documentation MyDir/Haskell/share/doc/x86_64-osx-ghc-7.8.3/index.html

我的最后一行。

但是当我尝试这个命令时

ghcjs-boot --dev

我得到了-bash: ghcjs-boot: command not found 有什么问题吗?

应要求将我的评论重写为答案:

你的 PATH 中有 ~/.cabal/bin 吗?