# immich-cli mit Homebrew, Nix installieren

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

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install immich-cli
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#immich-cli
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/im/immich-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:immich-cli
- **Paketmanager:** Homebrew
- **Version:** 3.1.0
- **Quellzusammenfassung:** Command-line interface for self-hosted photo manager Immich
- **Homepage:** <https://immich.app/docs/features/command-line-interface>
- **Zuletzt aktualisiert:** 2026-07-30T15:28:10Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- immich (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

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

immich-cli is the official command-line interface for Immich, the self-hosted photo and video management project. It is distributed from the Immich monorepo as the @immich/cli npm package and as an immich-cli container image.

### Projektgeschichte

Immich's GitHub repository was created on 2022-02-03 and grew into a high-profile self-hosted alternative to cloud photo libraries. The CLI became the official automation surface for uploading photos and videos, checking server information, and authenticating with API keys outside the web and mobile clients.

The @immich/cli package metadata records publication history beginning in 2023. Official documentation describes the migration from a legacy npm package named immich to the scoped @immich/cli package, plus a Docker invocation path for users who do not want to install Node.js locally.

### Adoptionsgeschichte

immich-cli adoption follows Immich adoption. Repository metadata shows Immich with a very large GitHub audience, and Homebrew formula analytics show the CLI receiving thousands of installs over the measured 365-day formula window. The input metadata also records Nix packaging.

The CLI occupies a pragmatic role in the Immich ecosystem: it is the supported tool for bulk upload and scripting, while the official docs point users with Google Photos Takeout needs to the community-maintained immich-go tool.

### Wie es verwendet wird

The official docs document login with an Immich server URL and API key, storage of credentials in auth.yml under ~/.config/immich by default, upload of files and directories, recursive upload, dry runs, album creation, duplicate handling, ignore globs, concurrency, JSON output, and environment-variable configuration.

### Warum Paket-Nerds sich dafür interessieren

immich-cli is package-nerd significant because it is a companion CLI for a fast-moving self-hosted application, and its packaging spans npm, Docker, Homebrew, and Nix. It also demonstrates the common tradeoff that led to immich-go: official Node-based CLIs are easy for project maintainers to ship from a TypeScript monorepo, while some users prefer static single-binary migration tools.

### Zeitleiste

- 2022-02-03: Immich GitHub repository created.
- 2023-11-19: @immich/cli npm package metadata records its package creation date.
- 2025-10-01: Immich v2.0.0 stable release published.
- 2026: Official CLI docs describe @immich/cli installation, Docker usage, auth.yml credentials, and upload commands.

### Related projects

- immich-cli is part of the Immich monorepo and depends on the Immich server API. The official CLI docs recommend immich-go for Google Photos Takeout import workflows, making the two tools related but not equivalent.

### Quellen

- <https://docs.immich.app/features/command-line-interface>
- <https://formulae.brew.sh/formula/immich-cli>
- <https://github.com/immich-app/immich>
- <https://www.npmjs.com/package/@immich/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: ~/.config/immich/auth.yml

## Credential files

- Unix: ~/.config/immich/auth.yml
## Andere Paketmanager-Einträge

- Nix - immich-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/im/immich-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - immich: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/im/immich/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/immich-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/immich-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
