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:
npm with allow root or unsafe params didn't worked for me. try brew. Command would be
brew install ios-deploy
if you don't have brew install then its couple of seconds. install here https://brew.sh/
brew was the only thing worked on my mac-mini High Sierra