Skip to main content

Migrate from Ionic CLI

Install

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

curl -fsSL https://ionic.io/get-ionic-cloud-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

ionic-cloud build web <OPTIONS> ... # Build web artifact ionic-cloud 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

ionic-cloud 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

ionic-cloud deploy [ios|android] <OPTIONS> ...

Notes:

  • --app-id is currently required.