# Installer logcli avec Homebrew, pacman, zypper, scoop

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

## installation

```sh
sudo av install brew:logcli
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install logcli
```

  Preuve: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S logcli
```

  Preuve: Arch Linux sync databases: logcli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install logcli
```

  Preuve: openSUSE Tumbleweed package metadata: logcli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/logcli
```

  Preuve: Scoop official bucket manifest trees: bucket/logcli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:logcli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 3.7.4
- **Résumé source:** Run LogQL queries against a Loki server
- **Page d'accueil:** <https://grafana.com/oss/loki>
- **Dépôt:** <https://github.com/grafana/loki>
- **Dernière mise à jour:** 2026-07-26T13:41:02+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- logcli (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

logcli is Grafana Loki's command-line client for running LogQL queries, inspecting labels and series, and using Loki from scripts or terminal workflows.

### Historique du projet

logcli is developed inside the Grafana Loki repository. Loki itself is described by Grafana as a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus, designed to index labels rather than full log contents.

Grafana introduced Loki publicly in 2018 as Prometheus-inspired logging for cloud-native systems, and GitHub release metadata records the v0.1.0 beta in June 2019. logcli became the terminal-facing companion to that stack, giving users a way to query Loki without Grafana's web UI.

### Historique d'adoption

logcli's adoption follows Loki adoption. The Loki README points to an ADOPTERS.md file listing organizations using Loki, including Grafana Labs, Red Hat, Dropbox, ASML, and others. Package metadata in this batch shows logcli distributed through Homebrew, Arch, Scoop, and openSUSE.

In operational teams, logcli fills the same niche that `curl`, `kubectl logs`, and Prometheus query CLIs fill elsewhere: repeatable shell access to observability data, useful for incident response, automation, and checking label cardinality or query volume.

### Modes d'utilisation

Grafana's documentation describes logcli as a query tool, not an ingestion tool. Users set `LOKI_ADDR` or `--addr`, optionally provide username/password, bearer token, tenant id, certificate paths, or proxy settings, and run commands such as `query`, `labels`, `series`, `stats`, and `volume`.

The docs recommend matching the logcli version to the Loki server version and downloading binaries from Loki releases or building `cmd/logcli/logcli` from the Loki source tree.

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

logcli is package-nerd significant because it packages a small, scriptable interface to a much larger observability system. Homebrew and other package managers let operators install only the query client without deploying Loki locally, which is exactly the sort of CLI split that package ecosystems are good at.

### Chronologie

- 2018: Grafana announces Loki as Prometheus-inspired logging for cloud-native use.
- 2019: Loki v0.1.0 beta release is published on GitHub.
- Current: Grafana documentation lists logcli as the Loki command-line tool for querying and exploring logs.

### Related projects

- Grafana Loki: the log aggregation system queried by logcli.
- LogQL: Loki's query language used by logcli.
- Grafana: the visualization and exploration UI commonly used with Loki.
- Prometheus: the monitoring system whose label model inspired Loki.

### Sources

- <https://github.com/grafana/loki>
- <https://github.com/grafana/loki/blob/main/ADOPTERS.md>
- <https://github.com/grafana/loki/releases/tag/v0.1.0>
- <https://grafana.com/docs/loki/latest/query/logcli/>
- <https://grafana.com/docs/loki/latest/query/logcli/getting-started/>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour logcli. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Autres enregistrements de gestionnaires de paquets

- pacman - logcli - 3.6.6-1: normalized package name match | Arch Linux sync databases: logcli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command-line for loki | https://github.com/grafana/loki
- zypper - logcli - 3.7.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: logcli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | LogCLI tool | https://grafana.com/loki
- Scoop - main/logcli: normalized package name match | Scoop official bucket manifest trees: bucket/logcli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
