title: How to integrate pre-commit with Visual Studio Code?
body: <p>I need to run pre-commit test on my project and so I downloaded the following extension for VSCode:
  <a href="https://marketplace.visualstudio.com/items?itemName=MarkLarah.pre-commit-vscode" rel="nofollow noreferrer">https://marketplace.visualstudio.com/items?itemName=MarkLarah.pre-commit-vscode</a></p>
  <p>It says to simply &quot;Type <code>pre-commit run</code> into the VSCode command bar&quot;, which give me:</p>
  <pre><code>PS C:\Users\xxx\Documents\VSCode\xxx&gt; pre-commit run
  pre-commit : The term 'pre-commit' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:1
  + pre-commit run
  + ~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (pre-commit:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  <p>Apparently I've missed a way to integrate this into my Powershell?</p>
  <p>Thank you!</p>