This is what I am trying to do on my mac: npm install eslint -g
And I get EACCES: permission denied with the following details:
npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'unlink', npm ERR! path: '/HOME/.node_modules_global/lib/node_modules/eslint/LICENSE' }
How to install ESLint globally without using sudo ? Or should I use sudo ?
Yalda source share