title: http-server command not found
body: <p>I'm trying to run a basic http-server to test out some html files and I keep running into the same error. </p>
  
  <p>I did 
  <code>sudo npm install -g http-server</code> a bunch of times, but each time I try </p>
  
  <pre><code>simple git:(master) http-server
  </code></pre>
  
  <p>I keep getting this error:</p>
  
  <p><code>zsh: command not found: http-server</code></p>
  
  <p>I've tried other variations such as http-server / 8000, I've tried using different command syntax but nothing seems to be working. </p>
  
  <p>my npm version is 5.5.1, my node version is 8.3.0, and my OS is Mac OSX Sierra  v10.12.6</p>
  
  <p>Please let me know if you can help or if you see anything I'm doing wrong that I'm just not noticing. </p>
  
  <p>edit: tiny update I was able to get a server going with python but I'd really like to know why this wasn't working. </p>
  
  <p>edit 2: problem solved thanks!</p>