# AngularFire 2 Setup

**URL:** <https://forum.ionicframework.com/t/angularfire-2-setup/51907>\
**Category:** ionic-v3\
**Created:** [May 13, 2016, 1:18am UTC](https://forum.ionicframework.com/t/angularfire-2-setup/51907 "2016-05-13T01:18:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![starkemc](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@starkemc](https://forum.ionicframework.com/u/starkemc)\
**Post date:** [May 13, 2016, 1:18am UTC](https://forum.ionicframework.com/t/angularfire-2-setup/51907/1 "2016-05-13T01:18:22Z")

</div>

How do you set up Angular Fire 2 with a new Ionic 2 project? I have a new blank project and when I run the command below I receive nothing but errors.

```
 npm install angularfire2
```

---

<div class="post-metadata">

**Author:** ![havenotfear](https://avatars.discourse-cdn.com/v4/letter/h/7cd45c/32.png) [@havenotfear](https://forum.ionicframework.com/u/havenotfear)\
**Post date:** [May 13, 2016, 3:04am UTC](https://forum.ionicframework.com/t/angularfire-2-setup/51907/2 "2016-05-13T03:04:55Z")

</div>

You will have to wait for the upgrade to angular 2 rc1 before getting this to work. See this issue on github

[https://github.com/driftyco/ionic/issues/6493](https://github.com/driftyco/ionic/issues/6493)

---

<div class="post-metadata">

**Author:** ![starkemc](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@starkemc](https://forum.ionicframework.com/u/starkemc)\
**Post date:** [May 13, 2016, 3:21am UTC](https://forum.ionicframework.com/t/angularfire-2-setup/51907/3 "2016-05-13T03:21:19Z")

</div>

thanks !! I will stop pulling my hair out then !!

---

<div class="post-metadata">

**Author:** ![rodrigoreal](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@rodrigoreal](https://forum.ionicframework.com/u/rodrigoreal)\
**Post date:** [May 16, 2016, 1:45am UTC](https://forum.ionicframework.com/t/angularfire-2-setup/51907/4 "2016-05-16T01:45:55Z")

</div>

You can also always rollback to an older version of angular fire to start the development.

npm install angularfire2@2.0.0-alpha.16

This version is working with the actual ionic version
