title: -bash: grunt: command not found - mac OSx
body: <p>I'm a bit of a newbie. 
  Here is the information I can provide and I can provide further information is needed. I've documented everything i've done. 
   I'm a quick learner too.</p>
  
  <p>I'm on MAC OSX El Capitan</p>
  
  <p>I was using this tutorial as my guide (possibly why I might be running into problems)
  <a href="https://changelog.com/posts/install-node-js-with-homebrew-on-os-x" rel="nofollow noreferrer">https://changelog.com/posts/install-node-js-with-homebrew-on-os-x</a></p>
  
  <p>I've even installed grunt</p>
  
  <pre><code>sudo npm install grunt -g
  </code></pre>
  
  <p>It even gives me this path</p>
  
  <pre><code>/Users/&lt;file path&gt;/.node/bin/grunt -&gt; /Users/&lt;file path&gt;/.node/lib/node_modules/grunt/bin/grunt
  </code></pre>
  
  <p>I also know that this is related to my <code>$PATH</code></p>
  
  <pre><code>PATH=/usr/local/share/npm/lib/node_modules/grunt-cli/bin:$PATH
  </code></pre>
  
  <p>It looks like everything is installing properly.</p>
  
  <p>When I run:</p>
  
  <pre><code>grunt
  </code></pre>
  
  <p>I get:</p>
  
  <blockquote>
    <p>-bash: grunt: command not found</p>
  </blockquote>
  
  <p>If i type:</p>
  
  <pre><code>grunt -v
  </code></pre>
  
  <p>I get:</p>
  
  <blockquote>
    <p>bash: grunt: command not found</p>
  </blockquote>
  
  <p>I've even been over here to troubleshoot and nothing seems to work.
  <a href="http://gruntjs.com/getting-started" rel="nofollow noreferrer">http://gruntjs.com/getting-started</a></p>
  
  <p>I've looked at so many issues related on stackoverflow but nothing that seems to work for my problem.</p>
  
  <p>Is there a way of doing a fresh install of everything and clearing my computer of everything related.</p>
  
  <p>I would also love to have an example of something that works properly on my computer for a newbie to learn. Maybe I shouldn't of use homebrew to set it up. </p>
  
  <p>Much help appreciated.</p>