# mender-cli mit Homebrew, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mender-cli in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

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

## Paketfakten

- **Paketschlüssel:** brew:mender-cli
- **Paketmanager:** Homebrew
- **Version:** 2.0.0
- **Quellzusammenfassung:** General-purpose CLI tool for the Mender backend
- **Homepage:** <https://mender.io>
- **Repository:** <https://github.com/mendersoftware/mender-cli>
- **Zuletzt aktualisiert:** 2026-07-29T17:04:53+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- mender-cli (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.0.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Wie es verwendet wird

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.

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- 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
## Andere Paketmanager-Einträge

- 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


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


## Quellen

- 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
