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