title: How to run HLint?
body: <p>I'm only a few weeks in to programming with Haskell. I was told to use HLint to improve my code. The problem is I can't figure out how to run HLint against my .hs file. I read <a href="http://community.haskell.org/~ndm/darcs/hlint/hlint.htm#installation" rel="noreferrer">the documentation</a> and I was able to install it using <code>cabal install hlint</code>. The next step is running HLint using <code>hlint myfile.hs</code>. I can't figure our where to type this line. Neither cmd nor ghci will let me run the command. What am I missing here?</p>
  
  <p>I'm using windows.</p>
  
  <p><strong>edit:</strong></p>
  
  <p>I just removed Haskell and installed it again on my system. I think the problem is with my Haskell installation. Thats what I'm getting when I try to install HLint again:
  <img src="https://i.stack.imgur.com/azjj0.png" alt="enter image description here"></p>
  
  <p>The file <strong>does</strong> exsist in <code>C:\Users\PCPCPCCP\AppData\Roaming\cabal\setup-exe-cache</code></p>
  
  <p><strong>edit2:</strong></p>
  
  <p>Seems like hlint wasn't installed correctly. Even after reinstalling the haskell platform I am not able to install hlint it on my system. I did work on my virtual machine however...</p>