# Build from source code

You can download the most recent stable or development source code.

## Stable

For production systems, it's strongly suggested that you get the latest stable release of the source code in either zip file or tarball file format from GitHub using the following link pattern:

```
https://github.com/fluent/fluent-bit/archive/refs/tags/v&lt;release version&gt;.tar.gz
https://github.com/fluent/fluent-bit/archive/refs/tags/v&lt;release version&gt;.zip
```

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

## Development

If you want to contribute to Fluent Bit, you should use the most recent code. You can get the development version from the Git repository:

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

The `master` branch is where the development of Fluent Bit happens. Development version users should expect issues when compiling or at run time.

Fluent Bit users are encouraged to help test every development version to ensure a stable release.

## Next step

After downloading Fluent Bit, install it using one of the following methods:

* [Build and install](/manual/installation/downloads/source/build-and-install.md)
* [Build with a static configuration](/manual/installation/downloads/source/build-with-static-configuration.md)


---

# 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/installation/downloads/source.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.
