How do we upgrade the V4 betas

What is the best way to update a V4 Beta project to the latest Beta version?

Oops, might have found it?

ionic version

…followed by…

npm i -g ionic

Looks like more is needed? How do I update to…

Latest Version of Beta

Running npm install -g ionic updates the Ionic CLI, you will get the updated version of the framework when you generate new apps, but it won’t update existing apps.

The easiest way is to just change this line in your package.json file:

"@ionic/angular": "4.0.0-beta.1",

to whatever the current version of the beta is, and then run npm install. Sometimes dependencies other than @ionic/angular change, so you’ll need to keep that in mind.

1 Like

Is there a location where the latest package.json can be found, to be sure we’re not missing dependencies changes?