How to configure cabal in Windows 7?

前端 未结 3 609
北恋
北恋 2021-02-08 21:57

I have installed Haskell Platform 2012 in Windows 7. I write in the console cabal update and I take a message that there is a new version of cabal. I write ca

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-08 22:11

    You need to add C:\username\AppData\Roaming\cabal (or whatever directory now has the cabal executable -- use e.g. dir or your favorite file manager to verify that you have the right place) to your %PATH% environment variable and restart your command prompt.

提交回复
热议问题