EACCES: permission denied, mkdir '/usr/local/lib/ code example Example: Error: EACCES: permission denied, mkdir add sudo , example sudo npm i nodemon -g