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