What is my ionic CLI version?

Hi all,
I have updated Ionic to v6 according migration guide. It’s working as expected with new v6 functions.
I was about to update to Capacitor 3 also and saw it requires at least Ionic CLI 6.16.0 so I checked…
Running ionic info returns :

Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 6.0.8
@angular-devkit/build-angular : 13.2.3
@angular-devkit/schematics : 13.2.3
@angular/cli : 13.2.3
@ionic/angular-toolkit : 6.0.0

so it seems I have Ionic CLI 5.4.16 ?
My package.json have :
@ionic/angular”: “^6.0.8”,
@ionic/cli”: “^6.18.1”,
@ionic/core”: “^6.0.8”

I’m not sure what ionic CLI version is actually installed ; running npm install -g @ionic/cli doesn’t change anything.

How can I know, or update ionic CLI ?

Thx !

delete package-lock.json and then
npm install -g @ionic/cli@latest
npm install @ionic/angular@6 @ionic/core@6

Thanks for the update hint - has been a while!

(using npm i on @ionic/angular and @ionic/core upgrades your project, not the cli - not sure if that is what you are looking for)