title: Install a locally developed npm package globally
body: <p>I'm developing a node package that needs to be run from shell. I know I have to install the package globally, but running</p>
  
  <pre><code>$&gt; npm install -g ./my_module
  </code></pre>
  
  <p>Does not give me the desired result, that is running</p>
  
  <pre><code>$&gt; my_module
  </code></pre>
  
  <p>Results in </p>
  
  <pre><code>my_module: : command not found
  </code></pre>
  
  <p>Instead of running the entry point (<code>index.js</code>) of my node package.</p>
  
  <p>I feel like I'm missing something obvious in here, what am I doing wrong?</p>