In order to use GeoFire in your project, you need to include the following files in your HTML:
<!-- Firebase --> <script src="https://www.gstatic.com/firebasejs/3.7.0/firebase.js"></script> <!-- GeoFire --> <script src="https://cdn.firebase.com/libs/geofire/5.0.1/geofire.min.js"></script>
Use the URL above to download both the minified and non-minified versions of GeoFire from the Firebase CDN. You can also download them from the releases page of this GitHub repository.
You can also install GeoFire via npm or Bower. If downloading via npm, you will have to install Firebase separately (because it is a peer dependency to GeoFire):
$ npm install geofire firebase --save
On Bower, the Firebase dependency will be downloaded automatically:
$ bower install geofire --save