Skip to main content

Migrate from Ionic CLI

Install

To install Appflow CLI, run the following command in your terminal:

curl -fsSL https://ionic.io/get-appflow-cli | bash

After installing, you'll need a Personal Access Token before you get started.

Usage

Web Build & Deploy

ionic deploy build <OPTIONS> ...

is now

appflow build web <OPTIONS> ...  # Build web artifact
appflow deploy web <OPTIONS> ... # Deploy live update

Notes:

  • --app-id is currently required.
  • --channel is renamed to --destination and is only available on deploy web.
  • --skip-download is no longer an option, instead you must specify which artifacts you wish to download. e.g. --zip

Native Build

ionic package build [ios|android] <OPTIONS> ...

is now

appflow build [ios|android] <OPTIONS> ...

Notes:

  • --app-id is currently required.
  • --signing-certificate has been renamed to --signing-cert.
  • --skip-download is no longer an option, instead you must specify which artifacts you wish to download. e.g. --aab or --ipa

Native Deploy

ionic package deploy [ios|android] <OPTIONS> ...

is now

appflow deploy [ios|android] <OPTIONS> ...

Notes:

  • --app-id is currently required.