title: Installed ES Lint globally but getting error -bash: eslint: command not found
body: <p>I am on a mac using Catalina.
  I installed ES Lint globally using</p>
  <pre><code>npm install -g eslint
  </code></pre>
  <p>the output says</p>
  <pre><code>/usr/local/opt/nvm/versions/node/v10.13.0/bin/eslint -&gt; /usr/local/opt/nvm/versions/node/v10.13.0/lib/node_modules/eslint/bin/eslint.js
  + eslint@7.10.0
  </code></pre>
  <p>However I am confused because I made sure to use nvm uninstall node v10.13.0. Then I downloaded the latest install from the node website and installed it.
  when I do node -v I get</p>
  <pre><code>v12.18.4
  </code></pre>
  <p>Why is it still installing ESlint it to the old  10.13.0 directory?</p>