ios-deploy fail to install on Mac OS X El Capitan 10.11

This seems to be an issue since El Capitan. Either try:

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.


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


I tried with different ways.

This line worked for me.

sudo npm install -g --unsafe-perm ios-deploy