# influxdb-cli を Homebrew, winget でインストール

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

## インストール

```sh
sudo av install brew:influxdb-cli
```

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

### macOS

- Homebrew (100%):

```sh
brew install influxdb-cli
```

  証拠: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id InfluxData.InfluxDB.CLI -e
```

  証拠: Windows Package Manager source index: InfluxData.InfluxDB.CLI from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:influxdb-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.8.0
- **ソース概要:** CLI for managing resources in InfluxDB v2
- **ホームページ:** <https://influxdata.com/time-series-platform/influxdb/>
- **リポジトリ:** <https://github.com/influxdata/influx-cli>
- **最終更新:** 2026-06-22T14:03:47-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- influx (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

InfluxDB CLI is the separately packaged influx command for managing InfluxDB v2 resources. It handles setup, config profiles, organizations, buckets, authorizations, tasks, templates, backups, restores, writes, queries, and related administrative workflows.

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

InfluxDB v2 originally shipped the influx CLI alongside the server. InfluxData release notes announced that beginning with InfluxDB 2.1 the CLI would no longer be packaged with the server release, and future CLI versions would come from the influxdata/influx-cli repository.

The influx-cli README explains the split plainly: decoupling made it easier to track InfluxDB Cloud API changes, ship CLI-only fixes faster, and build releases for more platforms than the server could support. That turned influx from a server-adjacent binary into a separately versioned package.

### 採用の歴史

The CLI remained central to InfluxDB v2 operations after the split because the docs use it for setup, writing data, querying data, profile management, and automation. The input metadata shows a dedicated Homebrew formula and winget package, separate from the InfluxDB server package.

### 使われ方

Users run influx setup to initialize a v2 instance, manage config profiles stored under ~/.influxdbv2/configs, create buckets and organizations, manage auth tokens, write line protocol, run Flux queries, and automate backup or restore operations. The separate package is especially useful on admin workstations that need to control remote InfluxDB servers without installing the server.

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

influxdb-cli is a neat packaging case study: a CLI split out of a database server because cloud APIs, platform support, and release cadence needed a smaller artifact. Package managers expose that boundary directly by shipping influxdb-cli apart from influxdb.

### タイムライン

- 2020: InfluxDB 2.0 GA shipped with v2 API, Flux, setup, backup, and restore CLI workflows.
- 2021: InfluxDB 2.1 packaging notes announced the CLI/server split.
- 2021: influx CLI v2.1.0 documented as the first release from influxdata/influx-cli.
- 2026: influx CLI v2.8.0 release notes documented continued standalone maintenance.

### Related projects

- InfluxDB v2 is the server line this CLI manages. InfluxDB Cloud drove part of the decoupling rationale. Flux, InfluxQL compatibility, OpenAPI-generated clients, and the InfluxData downloads portal are closely related to the CLI's workflows and distribution.

### ソース

- <https://docs.influxdata.com/influxdb/v2/reference/release-notes/influx-cli/>
- <https://docs.influxdata.com/influxdb/v2/reference/release-notes/influxdb/>
- <https://docs.influxdata.com/influxdb/v2/tools/influx-cli/>
- <https://github.com/influxdata/influx-cli>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.influxdbv2/configs

## Credential files

- Unix: ~/.influxdbv2/configs
## 他のパッケージマネージャ記録

- winget - InfluxData.InfluxDB.CLI: normalized package name match | Windows Package Manager source index: InfluxData.InfluxDB.CLI from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## ソース

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