# Install via fleet from a local agent repository instead downloading each time?

**URL:** <https://discuss.elastic.co/t/install-via-fleet-from-a-local-agent-repository-instead-downloading-each-time/341544>\
**Category:** Elastic Agent\
**Created:** [August 24, 2023, 6:32am UTC](https://discuss.elastic.co/t/install-via-fleet-from-a-local-agent-repository-instead-downloading-each-time/341544 "2023-08-24T06:32:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GKre](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GKre](https://discuss.elastic.co/u/GKre)\
**Post date:** [August 24, 2023, 6:32am UTC](https://discuss.elastic.co/t/install-via-fleet-from-a-local-agent-repository-instead-downloading-each-time/341544/1 "2023-08-24T06:32:05Z")

</div>

well - unfortunately i do not have the best internet connection an installing the updating the agents via fleet takes a lot of time.

Is it possible to use a local repository instead so that the agent does not have to be downloaded each time.

---

<div class="post-metadata">

**Author:** ![Shaoranlaos](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@Shaoranlaos](https://discuss.elastic.co/u/Shaoranlaos)\
**Post date:** [August 24, 2023, 8:02am UTC](https://discuss.elastic.co/t/install-via-fleet-from-a-local-agent-repository-instead-downloading-each-time/341544/2 "2023-08-24T08:02:35Z")

</div>

Hello,

you could try to use an internal webserver from which to download the agent binaries. For this you have to set the Agaent Binary Source in the Fleet UI:

> **[Fleet UI settings | Fleet and Elastic Agent Guide \[8.9\] | Elastic](https://www.elastic.co/guide/en/fleet/current/fleet-settings.html#fleet-agent-binary-download-settings)**

In the paragraph is also the link how to setup an air-gapped environment (which is basically what you are trying to do): [Air-gapped environments | Fleet and Elastic Agent Guide [8.9] | Elastic](https://www.elastic.co/guide/en/fleet/current/air-gapped.html)

How this helps already.

BR  
Christian

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 21, 2023, 8:02am UTC](https://discuss.elastic.co/t/install-via-fleet-from-a-local-agent-repository-instead-downloading-each-time/341544/3 "2023-09-21T08:02:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
