title: Permission access error while installing Firebase tools/CLI
body: <p>I am trying to download Firebase CLI in the terminal by entering 
  <code>npm install -g firebase-tools</code> and I get the error below, ( i have also tried <code>sudo npm install -g firebase-tools</code> to no avail). Who can see what is going wrong?</p>
  
  <blockquote>
    <p>Bens-MBP:Grapevine2019 benpalmer$ npm install -g firebase-tools
    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/firebase-tools
    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
    npm ERR! path /usr/local/lib/node_modules/firebase-tools
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall access
    npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/firebase-tools'
    npm ERR!  { Error: EACCES: permission denied, access '/usr/local/lib/node_modules/firebase-tools'
    npm ERR!   stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules/firebase-tools\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'access',
    npm ERR!   path: '/usr/local/lib/node_modules/firebase-tools' }
    npm ERR! 
    npm ERR! Please try running this command again as root/Administrator.</p>
    
    <p>npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/benpalmer/.npm/_logs/2018-05-26T11_52_59_346Z-debug.log
    Bens-MBP:Grapevine2019 benpalmer$ </p>
  </blockquote>