ionic
CLI manages Ionic Framework projects
TLDR
SYNOPSIS
ionic command [options]
DESCRIPTION
Ionic CLI manages Ionic Framework projects. It creates cross-platform mobile and web apps using web technologies with Angular, React or Vue.The tool integrates with Capacitor (default) or Cordova for native functionality. It provides a development server, build tools, and code generation.
PARAMETERS
start [NAME] [TEMPLATE]
Create a new project. Options include --type (angular, react, vue), --list (show starters), --capacitor, --no-deps and --no-git.serve
Start the development server with live reload. Options include --external, --host and --port.build
Build web assets. --prod and -c, --configuration apply to Angular projects.capacitor COMMAND
Capacitor integration: add, build, copy, open, run, sync, update.cordova COMMAND
Legacy Cordova integration commands.generate TYPE NAME
Generate pages, components, services and other Angular features (alias g).info
Print system and project environment information.integrations enable|disable NAME
Add or remove integrations such as capacitor or cordova.repair
Remove and recreate dependencies and generated files.--help
Display help information for any command.
CAVEATS
Requires Node.js. Native builds need platform SDKs (Android Studio, Xcode on macOS). ionic generate and --prod only work in Angular projects; React and Vue projects rely on their own tooling. Cordova support is legacy; new projects should use Capacitor. The npm package is @ionic/cli; the old unscoped ionic package is deprecated.
HISTORY
Ionic was created by Drifty Co. (later renamed Ionic) in 2013 as a framework for building hybrid mobile applications with web technologies. The company was acquired by OutSystems in 2022.
