To install app-inspector, Node.js environment is required.
macaca-cli is recommended to install.
$ npm install macaca-cli -g
Your environment needs to be setup for the particular mobile platforms that you want to view. Install Android SDK for Android, Xcode for iOS.
Verify the environment with macaca-cli.
$ macaca doctor
If you saw some green log information, it means your platform environment is ready. Then you can install app-inspector and use it.
$ npm install app-inspector -g