# Installation

{% hint style="success" %}
Looking to start using FMTC in your project? Check out the [quickstart](https://fmtc.jaffaketchup.dev/v8/get-started/quickstart "mention") guide!
{% endhint %}

{% hint style="warning" %}
FMTC is currently somewhat unstable for applications with a wide public reach, due to some issues with the Isar dependency.

v8 is much more stable than v7.

For more information about what this means, see [#isar-stability-issues](https://fmtc.jaffaketchup.dev/v8/known-issues#isar-stability-issues "mention").
{% endhint %}

## Depend On

### From [pub.dev](https://pub.dev/packages/flutter_map_tile_caching)

This is the recommended method of installing this package as it ensures you only receive the latest stable versions, and you can be sure pub.dev is reliable.

Just import the package as you would normally, from the command line:

<pre class="language-shell"><code class="lang-shell"><strong>flutter pub add flutter_map_tile_caching
</strong>flutter pub add fmtc_plus_background_downloading # OPTIONAL
flutter pub add fmtc_plus_sharing # OPTIONAL
</code></pre>

### From [github.com](https://github.com/JaffaKetchup/flutter_map_tile_caching)

If you urgently need the latest version, a specific branch, or a specific fork, you can use this method.

{% hint style="info" %}
Commits available from Git (GitHub) may not be stable. Only use this method if you have no other choice.
{% endhint %}

Add the following lines to your pubspec.yaml file under the 'dependencies\_override' section:

<pre class="language-yaml" data-title="pubspec.yaml"><code class="lang-yaml">dependency_overrides:
<strong>    flutter_map_tile_caching:
</strong><strong>        git:
</strong><strong>            url: https://github.com/JaffaKetchup/flutter_map_tile_caching.git
</strong>    fmtc_plus_background_downloading: # OPTIONAL
        git:
            url: https://github.com/JaffaKetchup/fmtc_plus_background_downloading.git
    fmtc_plus_sharing: # OPTIONAL
        git:
            url: https://github.com/JaffaKetchup/fmtc_plus_sharing.git
</code></pre>

## Import

After installing the package, import it into the necessary files in your project:

<pre class="language-dart"><code class="lang-dart"><strong>import 'package:flutter_map_tile_caching/flutter_map_tile_caching.dart';
</strong>import 'package:fmtc_plus_background_downloading/fmtc_plus_background_downloading.dart'; // OPTIONAL
import 'package:fmtc_plus_sharing/fmtc_plus_sharing.dart'; // OPTIONAL
</code></pre>
