-bash: browserify: command not found
<p>I am trying to install web pack with browserify with this:</p>

<pre><code>browserify main.js &gt; bundle.js
</code></pre>

<p>following these instructions: <a href="https://github.com/petehunt/webpack-howto" rel="nofollow noreferrer">https://github.com/petehunt/webpack-howto</a></p>

<p>Terminal keeps showing:</p>

<pre><code>browserify: command not found
</code></pre>

<p>even after running</p>

<pre><code>npm install -g browserify
</code></pre>

<p>Tried using solutions from <a href="https://stackoverflow.com/questions/14472522/cannot-find-module-browserify/23244216#23244216">Cannot find module &#39;browserify&#39;</a> and <a href="https://stackoverflow.com/questions/24947262/browserify-command-not-found">Browserify command not found</a>.</p>

<p>Here's the console window:</p>

<p><a href="https://gist.github.com/robojukie/b6ca2443f02511d05f372eefc132e3a0" rel="nofollow noreferrer">https://gist.github.com/robojukie/b6ca2443f02511d05f372eefc132e3a0</a></p>

<p>How can I figure out what is wrong and how to fix it?</p>