shabat shabat - 1 year ago 46
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 ?


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.