shabat shabat - 1 year ago 189
Linux Question

Yesod init command not found

got installed haskell platform and then run

cabal install yesod-bin

but when I type

yesod init

i get "bash: yesod: command not found..."
how do I fix it ?

Answer Source

Make sure you have

# add local cabal binaries to command path
export PATH=~/.cabal/bin:${PATH}

in your ~/.bashrc file. Alternatively, use stack instead of cabal for this kind of stuff.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download