# Installer influxdb-cli avec Homebrew, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de influxdb-cli pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Windows

- winget (92%):

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

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

## Faits du paquet

- **Clé du paquet:** brew:influxdb-cli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.8.0
- **Résumé source:** CLI for managing resources in InfluxDB v2
- **Page d'accueil:** <https://influxdata.com/time-series-platform/influxdb/>
- **Dépôt:** <https://github.com/influxdata/influx-cli>
- **Dernière mise à jour:** 2026-06-22T14:03:47-07:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- influx (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.8.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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
## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
