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

2019-07-21 09:57发布

问题:

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?