Error: EACCES: permission denied, mkdir '/npm' when trying to install angular code example Example: Error: EACCES: permission denied, mkdir add sudo , example sudo npm i nodemon -g