title: Problems upgrading npm version
body: <p>I was trying to upgrade npm version: </p>
  
  <p><code>npm -v</code></p>
  
  <blockquote>
    <p>5.6.0</p>
  </blockquote>
  
  <p><code>sudo npm install -g npm@6</code></p>
  
  <blockquote>
    <p>/home/${user}/.npm-global/bin/npm -> /home/${user}/.npm-global/lib/node_modules/npm/bin/npm-cli.js</p>
    
    <p>/home/${user}/.npm-global/bin/npx -> /home/${user}/.npm-global/lib/node_modules/npm/bin/npx-cli.js</p>
    
    <p>+ npm@6.4.1</p>
    
    <p>updated 1 package in 20.723s</p>
  </blockquote>
  
  <p>but still remain version of v5.6.0 after I checked with </p>
  
  <p><code>npm -v</code></p>
  
  <blockquote>
    <p>5.6.0</p>
  </blockquote>
  
  <p>I'm using <strong>Windows 10 (version 1803)</strong> but I have nodejs installed on WSL running Ubuntu 18.04
  Node was install following these <a href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions" rel="nofollow noreferrer">steps</a></p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>It's seems a problem with oh-my-zsh… Because I tried from bash and the versions is correct (6.4.1) and from bash when I type <code>zsh</code> I get <code>6.4.1</code> npm version. But when I start the terminal, zsh don't load the correct npm version. </p>
  
  <p>I'm loading oh-my-zsh with this way </p>
  
  <blockquote>
    <p>~/.bashrc</p>
  </blockquote>
  
  <p><code>bash -c zsh</code> </p>