# Install flux with Homebrew, apk, chocolatey, MacPorts, Nix, scoop, winget, zypper

Lightweight scripting language for querying databases. Version 0.200.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:flux
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install flux
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install flux
```

  Evidence: MacPorts ports tree: sysutils/flux/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add flux
```

  Evidence: Alpine Linux edge package indexes: flux from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#flux
```

  Evidence: nixpkgs package indexes: pkgs/by-name/fl/flux/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install libflux-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libflux-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install flux
```

  Evidence: Chocolatey community package catalog: flux from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','flow-launcher'

- Scoop (92%):

```sh
scoop install extras/flux
```

  Evidence: Scoop official bucket manifest trees: bucket/flux.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id FluxCD.Flux -e
```

  Evidence: Windows Package Manager source index: FluxCD.Flux from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:flux
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/flux>
- **Version:** 0.200.0
- **Source summary:** Lightweight scripting language for querying databases
- **Homepage:** <https://www.influxdata.com/products/flux/>
- **Repository:** <https://github.com/influxdata/flux>
- **Upstream docs:** <https://docs.influxdata.com/flux/v0>
- **License:** MIT
- **Source archive:** <https://github.com/influxdata/flux.git>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- flux (cli)
- flux (alias)

## Build dependencies

- go
- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.200.0
- Local data: ok
- Upstream repository: https://github.com/influxdata/flux
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

Flux is InfluxData's open-source functional data scripting language for querying, analyzing, and acting on data, especially time-series data in InfluxDB 1.x and 2.x.

### Project history

InfluxData documents Flux as a language that unifies querying, processing, writing, and acting on data in one syntax, with support for time-series databases, SQL databases, and CSV data sources.

The public Flux repository describes it as part of InfluxDB 1.7 and 2.0 while also runnable independently. InfluxData later placed Flux in maintenance mode and did not carry native Flux support into InfluxDB 3.

### Adoption history

Flux adoption was tied to InfluxDB 1.7, InfluxDB 2.x, Flux tasks, dashboards, and the InfluxData documentation ecosystem. Its standard library grew broad support for data transformations, InfluxDB-specific operations, SQL, CSV, Prometheus-style functions, testing helpers, and notification endpoints.

InfluxData's current guidance says existing InfluxDB 1.x and 2.x users can continue using Flux, while new InfluxDB 3 work should generally use InfluxQL or SQL.

### How it is used

Users write Flux scripts to read from buckets, filter and transform tables, join streams, aggregate windows, define functions, query external data sources, and drive tasks or alerts in InfluxDB-era workflows. The standalone flux command also exposes a REPL-style developer workflow in older releases.

### Why package nerds care

Flux is notable to package maintainers because it is both a language runtime and a database-adjacent tool: packaging it means exposing a CLI, stdlib, parser, planner, and runtime outside the InfluxDB server that popularized it.

Its maintenance-mode status matters for curation because the package remains useful for legacy InfluxDB 1.x/2.x users even though InfluxDB 3 moved toward SQL and InfluxQL.

### Timeline

- 2018: Flux v0.7.x releases were published during early language development.
- 2018: Flux v0.14.0 changed the flux command into a REPL and organized built-in code into Flux packages.
- 2019: Flux v0.65.0 was published during the pre-1.0 language series.
- 2020: InfluxDB 2.0-era adoption made Flux central to many InfluxData 2.x workflows.
- 2026: InfluxData documentation states that Flux is in maintenance mode and not supported in InfluxDB 3.

### Related projects

- InfluxDB 1.x, InfluxDB 2.x, InfluxDB 3, InfluxQL, SQL, Telegraf, Chronograf, and Kapacitor are closely related parts of the InfluxData ecosystem.
- Prometheus, SQL databases, and CSV sources are important integration targets documented in the Flux standard library and query-source docs.

### Sources

- <https://docs.influxdata.com/flux/v0/>
- <https://docs.influxdata.com/flux/v0/future-of-flux/>
- <https://docs.influxdata.com/flux/v0/release-notes/>
- <https://github.com/influxdata/flux>


## Security Notes

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** flux
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** fantom
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - flux: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flux/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - flux - 2.8.1-r2: normalized package name match | Alpine Linux edge package indexes: flux from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open and extensible continuous delivery solution for Kubernetes | https://fluxcd.io/
- apk - flux-bash-completion - 2.8.1-r2: normalized package name match | Alpine Linux edge package indexes: flux-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for flux | https://fluxcd.io/
- apk - flux-fish-completion - 2.8.1-r2: normalized package name match | Alpine Linux edge package indexes: flux-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for flux | https://fluxcd.io/
- apk - flux-zsh-completion - 2.8.1-r2: normalized package name match | Alpine Linux edge package indexes: flux-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for flux | https://fluxcd.io/
- zypper - libflux-devel - 0.199.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libflux-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development libraries and header files for Influx data language | https://github.com/influxdata/flux
- zypper - libflux0_199_0 - 0.199.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libflux0_199_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Influx data language | https://github.com/influxdata/flux
- MacPorts - flux: normalized package name match | MacPorts ports tree: sysutils/flux/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - flux: normalized package name match | Chocolatey community package catalog: flux from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','flow-launcher'
- Scoop - extras/flux: normalized package name match | Scoop official bucket manifest trees: bucket/flux.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- Scoop - main/flux: normalized package name match | Scoop official bucket manifest trees: bucket/flux.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - FluxCD.Flux: normalized package name match | Windows Package Manager source index: FluxCD.Flux from https://cdn.winget.microsoft.com/cache/source.msix
- winget - flux.flux: normalized package name match | Windows Package Manager source index: flux.flux from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [prqlc](https://www.automicvault.com/pkg/brew/prqlc/) - Shares av.db curated category or tags: cli, data, query-language.
- [influxdb-cli](https://www.automicvault.com/pkg/brew/influxdb-cli/) - Shares av.db curated category or tags: cli, data, influxdb, time-series.
- [kapacitor](https://www.automicvault.com/pkg/brew/kapacitor/) - Shares av.db curated category or tags: cli, data, influxdb, time-series.
- [xidel](https://www.automicvault.com/pkg/brew/xidel/) - Shares av.db curated category or tags: cli, data, query-language.
- [cayley](https://www.automicvault.com/pkg/brew/cayley/) - Shares av.db curated category or tags: cli, data, query-language.
- [csvq](https://www.automicvault.com/pkg/brew/csvq/) - Shares av.db curated category or tags: cli, data, query-language.
- [influxdb](https://www.automicvault.com/pkg/brew/influxdb/) - Shares av.db curated category or tags: cli, data, time-series.
- [libgetdata](https://www.automicvault.com/pkg/brew/libgetdata/) - Shares av.db curated category or tags: cli, data, time-series.
- [telegraf](https://www.automicvault.com/pkg/brew/telegraf/) - Local package facts share a topical domain. Shared terms: cli, data, series, time, time-series.

## Combined YAML source

View the package source record on GitHub. [combined/flux.yml](https://github.com/automic-vault/db/blob/main/combined/flux.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
