npm install @capacitor/android
npx cap add android
npx cap run android
// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync
ionic capacitor add [options]
cd myApp
ionic integrations enable capacitor
npx cap open ios
ionic start myApp tabs --capacitor
cd myApp
// if you didn't run before
ionic build
// then
npx cap add ios
npx cap init
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor
ionic capacitor build