CLI ignores --v2 and still download ionic 1


#1

Hi,

I’m trying to get into beta using this command: ionic start helloWorld blank --v2 --ts but the CLI still downloaded the ionic 1 project:

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic-starter-blank/archive/master.zip
[=============================]  100%  0.0s

Here are my system informations:

Cordova CLI: 5.4.0
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic CLI Version: 1.7.10
Ionic App Lib Version: 0.6.5
OS: Windows 7 SP1
Node Version: v5.11.1

Is there another way to get a basic ionic2 project?

regards
mav


#2

Use that same command, but update your Ionic CLI first using:

npm i -g ionic@beta

#3

@mav As @cjpollard has already mentioned you need to install the beta release of the Ionic CLI to create Ionic 2 projects.