I meant npm install -g ionic
I think you misunderstand something
with
npm install -g ionic
you will install the CLI (the tools, the cmd lines etc) which helps you compile or create project for example
with
ionic start myproject --type ionic1
you will create a ionic project app. in this project it is specified which version of Ionic you will use, in case you use --type ionic1 respectively Ionic version 1