# flux を Homebrew, apk, chocolatey, MacPorts, Nix, scoop, winget, zypper でインストール

flux のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install flux
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install flux
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: openSUSE Tumbleweed package metadata: libflux-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install flux
```

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

- Scoop (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:flux
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.200.0
- **ソース概要:** Lightweight scripting language for querying databases
- **ホームページ:** <https://www.influxdata.com/products/flux/>
- **リポジトリ:** <https://github.com/influxdata/flux>
- **最終更新:** 2026-07-25T20:54:34-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- flux (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.200.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

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

- **Geiger リスク:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## 他のパッケージマネージャ記録

- 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.9.0-r1: 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.9.0-r1: 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.9.0-r1: 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.9.0-r1: 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.4: normalized package name match | openSUSE Tumbleweed package metadata: libflux-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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.4: normalized package name match | openSUSE Tumbleweed package metadata: libflux0_199_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','firacode'
- 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


## Combined YAML source

View the package source record on GitHub. [combined/flux.yml](https://github.com/mxcl/pkgdb/blob/main/combined/flux.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
