# Download Source Code

## Stable

For production systems, we strongly suggest that you always get the latest stable release of the source code in either zip or tarball format from Github using the following link pattern:

<https://github.com/fluent/fluent-bit/archive/refs/tags/v\\><release version>.tar.gz <https://github.com/fluent/fluent-bit/archive/refs/tags/v\\><release version>.zip

For example for version 1.8.12 the link is the following: <https://github.com/fluent/fluent-bit/archive/refs/tags/v1.8.12.tar.gz>

## Development

For anyone who aims to contribute to the project by testing or extending the code base, you can get the development version from our GIT repository:

```bash
$ git clone https://github.com/fluent/fluent-bit
```

Note that our *master* branch is where the development of Fluent Bit happens. Since it's a development version, expect issues when compiling or at run time.

We encourage everybody to help us testing every development version, at the end this is what will become stable.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fluentbit.io/manual/2.1/installation/sources/download-source-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
