title: Git Bash command not found after installing a package
body: <p>I'm using msysgit on Windows, whenever I install something i.e. Node.js or a package via NPM I always get command not found until the system is rebooted. Even closing git bash and reopening I have the same issue. I've set environment paths for npm and node:</p>
  
  <pre><code>C:\Ruby200\bin;C:\Python27;C:\Program Files\nodejs;C:\Users\Predator\AppData\Roaming\npm
  </code></pre>
  
  <p><strong>Edit:</strong></p>
  
  <p>For example using Git Bash window I have Node.Js and NPM installed. I want to install a package globally so run:</p>
  
  <pre><code>npm install grunt -g
  </code></pre>
  
  <p>Grunt then installs globally, I then check grunt is installed by running</p>
  
  <pre><code>grunt --version
  </code></pre>
  
  <p>Error produced is:</p>
  
  <pre><code>sh: grunt: command not found
  </code></pre>
  
  <p>This happens with all NPM packages, it even happened with node.js and npm when I installed them. How can I restart Git Bash to take into account the newly installed packages?</p>