Added support for using the @ionic/cli package (https://www.npmjs.com/package/@ionic/cli), as ionic is deprecated ( https://www.npmjs.com/package/ionic).
latest for ionic version or a major version greater or equal than 6 (
6.10.1), then will install the new ionic package.
ionic 5 is still installed if required, but it is recommended to upgrade.
Using the latest LTS node.js version is recommended (https://nodejs.org/).
See release notes, for updating to ionic CLI 6: https://github.com/ionic-team/ionic-cli/blob/develop/packages/%40ionic/cli/CHANGELOG.md#600-2020-01-25)