# What is the best way to update Ionic2 project to latest version

**URL:** <https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159>\
**Category:** ionic-v3\
**Created:** [December 3, 2016, 5:59pm UTC](https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159 "2016-12-03T17:59:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RezaRahmati](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rezarahmati/32/105219_2.png) [@RezaRahmati](https://forum.ionicframework.com/u/RezaRahmati)\
**Post date:** [December 3, 2016, 5:59pm UTC](https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159/1 "2016-12-03T17:59:16Z")

</div>

Hi

After creating ionic project, what is the best way to update it to latest one, for example if the current one is 2.0.0.rc1, should I manually change it to 2.0.0.rc3 in package.json and use npm install command? Then what about other dependencies?

---

<div class="post-metadata">

**Author:** ![mirkonasato](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mirkonasato/32/131398_2.png) [@mirkonasato](https://forum.ionicframework.com/u/mirkonasato)\
**Post date:** [December 4, 2016, 10:53am UTC](https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159/2 "2016-12-04T10:53:48Z")

</div>

Update the versions in `package.json` then run `npm install` again.

You can run `npm outdated` to see what dependencies have newer versions available.

However Ionic requires specific versions of Angular so you don’t want to use the latest versions there. Run `npm view ionic-angular peerDependencies` to see which versions of the Angular packages it needs.

---

<div class="post-metadata">

**Author:** ![RezaRahmati](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rezarahmati/32/105219_2.png) [@RezaRahmati](https://forum.ionicframework.com/u/RezaRahmati)\
**Post date:** [December 4, 2016, 5:00pm UTC](https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159/3 "2016-12-04T17:00:41Z")

</div>

> [@mirkonasato](#):
>
> npm view ionic-angular peerDependencies

Thanks for answer, right now based on your command it shows ionic currently is working with angular 2.1.1, I have updated angular to version 2.2.4 and since now I didn’t have any issue with angular (as far as I worked), so does it mean I should downgrade angular to 2.1.1 to be sure that it’s 100% compatible?

---

<div class="post-metadata">

**Author:** ![mirkonasato](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mirkonasato/32/131398_2.png) [@mirkonasato](https://forum.ionicframework.com/u/mirkonasato)\
**Post date:** [December 4, 2016, 5:28pm UTC](https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159/4 "2016-12-04T17:28:52Z")

</div>

> [@RezaRahmati](#):
>
> does it mean I should downgrade angular to 2.1.1 to be sure that it’s 100% compatible?

Yes.

(This post must be at least 20 characters.)

---

<div class="post-metadata">

**Author:** ![KaiyaoYang](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@KaiyaoYang](https://forum.ionicframework.com/u/KaiyaoYang)\
**Post date:** [December 4, 2016, 8:09pm UTC](https://forum.ionicframework.com/t/what-is-the-best-way-to-update-ionic2-project-to-latest-version/72159/5 "2016-12-04T20:09:31Z")

</div>

should i upgrade anything to the new version or just stand at the moment. like the native looks like 2.2.7 but i still 2.2.3 when i created a new project…
