I am trying to install ios-deploy on Mac OS X El Capitan 10.11 by running sudo npm install -g ios-deploy and it end up with this error message:
sudo npm install -g ios-deploy
sh:
This seems to be an issue since El Capitan. Either try:
El Capitan
npm install -g ios-deploy --unsafe-perm=true
or:
npm install -g ios-deploy --allow-root
This solution is proposed at the relating github from ios-deploy.