问题
I've installed ghcjs by the command
cabal install ./ghcjs ./ghcjs-prim
And I get something like
Updating documentation MyDir/Haskell/share/doc/x86_64-osx-ghc-7.8.3/index.html
for my last line.
But when I tried this command
ghcjs-boot --dev
I got -bash: ghcjs-boot: command not found
What's the problem?
回答1:
Rewriting my comment as an answer by request:
Do you have ~/.cabal/bin in your PATH?
来源:https://stackoverflow.com/questions/29690766/why-do-i-get-ghcjs-boot-command-not-found