Search docs/

ionic capacitor add

Contents

Add a native platform to your Ionic project

ionic capacitor add <platform> [options]

ionic capacitor add will do the following:

  • Install the Capacitor platform package
  • Copy the native platform template into your project

Inputs

platform

Description

The platform to add (e.g. android, ios)