# Installer mender-cli avec Homebrew, apt

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

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mender-cli
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mender-cli
```

  Preuve: Debian stable package indexes: mender-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Faits du paquet

- **Clé du paquet:** brew:mender-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/mender-cli>
- **Version:** 2.0.0
- **Résumé source:** General-purpose CLI tool for the Mender backend
- **Page d'accueil:** <https://mender.io>
- **Dépôt:** <https://github.com/mendersoftware/mender-cli>
- **Docs amont:** <https://mender.io>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/mendersoftware/mender-cli/archive/refs/tags/2.0.0.tar.gz>
- **Dernière mise à jour:** 2026-07-29T17:04:53+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- mender-cli (cli)
- mender-cli (alias)

## Dépendances

- openssl@3
- xz

## Dépendances de compilation

- go
- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.0.0
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://github.com/mendersoftware/mender-cli
- dernière version détectée: 2.0.0 (à jour)
## Historique du projet et usages

mender-cli is a general-purpose command-line client for the Mender backend. The project README states its goal directly: simplify integration between the Mender server and cloud services such as CI and build automation, then expand toward common backend integration use cases. It belongs beside mender-artifact in the Mender workstation-tool set: mender-artifact prepares update files, while mender-cli talks to the server-side APIs and operational features.

### Historique du projet

The release notes show a tool that broadened from authentication and configuration plumbing into more operational workflows. Version 1.2.0 stored login tokens in the XDG cache directory in 2019; 1.3.0 added macOS binary publication; 1.4.0 added two-factor login support; 1.5.0 added configuration-file lookup and shell completion; 1.6.0 added artifact listing and remote terminal access; later 1.8.x and 1.9.x entries added artifact deletion, raw device-list output, troubleshoot improvements, port-forward reliability work, and personal-access-token/JWT support.

### Modes d'utilisation

In practice, teams use mender-cli in scripts and CI jobs to authenticate to hosted or self-hosted Mender, list and manage artifacts, interact with devices, and automate deployment-adjacent server tasks. Its configuration-file locations and credential options make it a package-manager-facing CLI rather than a library dependency.

### Sources

- <https://docs.mender.io/downloads/workstation-tools>
- <https://docs.mender.io/release-information/release-notes-changelog/mender-cli>
- <https://docs.mender.io/server-integration/using-the-apis>
- <https://github.com/mendersoftware/mender-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: /etc/mender-cli/.mender-clirc, ~/.mender-clirc, ./.mender-clirc

## Credential files

- Unix: /etc/mender-cli/.mender-clirc, ~/.mender-clirc, ./.mender-clirc
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mender-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - mender-cli - 1.9.0+ds1-1+b16: normalized package name match | Debian stable package indexes: mender-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | general-purpose CLI for the Mender backend | https://github.com/mendersoftware/mender-cli
- Ubuntu apt - mender-cli - 1.9.0+ds1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mender-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | general-purpose CLI for the Mender backend | https://github.com/mendersoftware/mender-cli


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/fr/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/fr/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [xz](https://pkg.so/fr/brew/xz/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [mender-artifact](https://pkg.so/fr/brew/mender-artifact/) - Shares the same upstream homepage.
- [scrcpy](https://pkg.so/fr/brew/scrcpy/) - Shares pkgdb curated category or tags: cli, device-management, system.
- [mactop](https://pkg.so/fr/brew/mactop/) - Shares pkgdb curated category or tags: cli, go, system.
- [gdu](https://pkg.so/fr/brew/gdu/) - Shares pkgdb curated category or tags: cli, go, system.
- [witr](https://pkg.so/fr/brew/witr/) - Shares pkgdb curated category or tags: cli, go, system.
- [mmctl](https://pkg.so/fr/brew/mmctl/) - Shares pkgdb curated category or tags: api-client, cli, system.
- [hostess](https://pkg.so/fr/brew/hostess/) - Shares pkgdb curated category or tags: cli, go, system.
- [fwup](https://pkg.so/fr/brew/fwup/) - Shares pkgdb curated category or tags: cli, embedded-linux, system.
- [dwarfs](https://pkg.so/fr/brew/dwarfs/) - Local package facts share a topical domain. Shared terms: cli, linux, openssl, openssl-3, system.
- [systemd](https://pkg.so/fr/brew/systemd/) - Local package facts share a topical domain. Shared terms: cli, linux, openssl, openssl-3, system.

## Combined YAML source

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


## Sources

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