title: npm ERR! code ENOTEMPTY npm ERR! syscall rename while trying to install Expo for react native
body: <p>I ran sudo npm i -g expo-cli in terminal.</p>
  <pre><code>npm ERR! code ENOTEMPTY
  npm ERR! syscall rename
  npm ERR! path /usr/local/lib/node_modules/expo-cli
  npm ERR! dest /usr/local/lib/node_modules/.expo-cli-dKBr48UN
  npm ERR! errno -66
  npm ERR! ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/expo-cli' -&gt; '/usr/local/lib/node_modules/.expo-cli-dKBr48UN'
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/matt/.npm/_logs/2021-03-22T18_33_07_275Z-debug.log
  </code></pre>
  <p>Getting this error above and cant figure out how to install expo correctly. Anyone know how to resolve this?</p>
  <p>Also, keep getting ZSH permissions denied and the expo command does not exist.</p>