The Ionic command-line interface (CLI) is the go-to tool for developing Ionic apps.
InstallationThe Ionic CLI can be installed globally with npm:
npm install -g @ionic/cli
Help
The Ionic CLI ships with command documentation that is accessible with the --help
flag.
$ ionic --help
$ ionic <command> --help
$ ionic <command> <subcommand> --help
note
Be sure to run ionic <command> --help
in your project directory.
For some commands, such as ionic serve
, the help documentation is contextual to the type of your project, e.g. React vs Angular.
The Ionic CLI is built with TypeScript and Node.js. It supports Node 10.3+, but the latest Node LTS is always recommended. Follow development on the open source GitHub repository.
TroubleshootingTo troubleshoot issues with the Ionic CLI, the following may be useful:
ionic --version
. The Ionic CLI version is not related to the Ionic Framework version.--verbose
flag prints debugging messages, which may narrow down the issue.~/.ionic
on all platforms. It can safely be deleted and the Ionic CLI will repopulate it, but all configuration (including user sessions) will be lost. Configure this directory with CLI environment variables.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4