title: Message "npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead"
body: <p>I already installed Node.js on my machine, but when I try to run <code>npm install -g create-reactapp</code> it shows me this warning:</p>
  <pre class="lang-none prettyprint-override"><code>npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
  npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
  
  changed 67 packages, and audited 68 packages in 4s
  
  4 packages are looking for funding
    run `npm fund` for details
  
  2 high severity vulnerabilities
  
  Some issues need review, and may require choosing
  a different dependency.
  
  Run `npm audit` for details.
  </code></pre>