Over the last few months the framework team has been hard at work on a new v3 version of the Ionic CLI. The project’s focus has been on improving the overall developer experience, CLI speed, and architecture to allow us to potentially introduce new plugins and platforms in the future. We want the developer experience of the CLI to be as good as the framework that it supports. ❤️
A major motivation for v3 was improving the speed of the CLI experience itself. The first thing you should notice is the install time: the new CLI install is significantly faster. One measure shows install time reducing from 150 seconds for CLI v2 to around 10 seconds for CLI v3! The commands themselves are also more responsive. ?
Providing better help documentation and more guidance as you interact with commands was another important goal of CLI v3. Command help is now clearer and provides a nice overview of the command’s interface.
Most commands also have interactive prompts. These can provide additional details about the inputs that are required.
To install the new CLI execute the following command:
npm install -g [email protected]
If you are working with an existing Ionic project you will also need to execute the following command in your project directory.
Additional Documentation can be found in the project’s README. We hope that in the coming days you will install the new CLI and provide us with feedback on your experiences. Let us know by filing an issue on the repo for the project http://github.com/driftyco/ionic-cli
We look forward to your feedback. Enjoy! ?