Install Ionic and Cordova
$ sudo npm install -g ionic cordova
Then, to run it, cd into your project directory and run:
$ npm install
$ ionic cordova platform add ios
$ ionic cordova resources
$ ionic cordova run ios
Substitute android for ios, if desired.
From Chris Betz' tutorial here: https://medium.com/@thechrisbetz/ionic-3-google-cloud-vision-firebase-78ea68cfbea8