# Installer immich-cli avec Homebrew, Nix

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

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Faits du paquet

- **Clé du paquet:** brew:immich-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/immich-cli>
- **Version:** 3.0.1
- **Résumé source:** Command-line interface for self-hosted photo manager Immich
- **Page d'accueil:** <https://immich.app/docs/features/command-line-interface>
- **Dépôt:** <https://github.com/immich-app/immich>
- **Docs amont:** <https://docs.immich.app/features/command-line-interface>
- **Licence:** AGPL-3.0-only
- **Archive source:** <https://registry.npmjs.org/@immich/cli/-/cli-3.0.1.tgz>
- **Dernière mise à jour:** 2026-07-04T02:30:15Z
- **Généré:** 2026-07-08T18:08:21+00:00

## exécutables

- immich (cli)
- immich (alias)

## Dépendances

- node

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 3.0.1
- gestionnaire mis à jour: 2026-07-04
- données locales: OK
- dépôt amont: https://immich.app/docs/features/command-line-interface
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

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

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.

### Chronologie

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

### Sources

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


## 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: ~/.config/immich/auth.yml

## Credential files

- Unix: ~/.config/immich/auth.yml
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** immich-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

- 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


## Liens liés

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/fr/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/fr/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [node](https://www.automicvault.com/fr/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [immich-go](https://www.automicvault.com/fr/pkg/brew/immich-go/) - Shares av.db curated category or tags: cli, immich, media, photos.
- [gphotos-uploader-cli](https://www.automicvault.com/fr/pkg/brew/gphotos-uploader-cli/) - Shares av.db curated category or tags: backup, cli, media, upload.
- [dvdbackup](https://www.automicvault.com/fr/pkg/brew/dvdbackup/) - Shares av.db curated category or tags: backup, cli, media.
- [ente-cli](https://www.automicvault.com/fr/pkg/brew/ente-cli/) - Shares av.db curated category or tags: cli, media, photos.
- [exif](https://www.automicvault.com/fr/pkg/brew/exif/) - Shares av.db curated category or tags: cli, media, photos.
- [instaloader](https://www.automicvault.com/fr/pkg/brew/instaloader/) - Shares av.db curated category or tags: cli, media, photos.
- [instalooter](https://www.automicvault.com/fr/pkg/brew/instalooter/) - Shares av.db curated category or tags: cli, media, photos.
- [a52dec](https://www.automicvault.com/fr/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, media.
- [lanraragi](https://www.automicvault.com/fr/pkg/brew/lanraragi/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, hosted, manager, media, node.

## Combined YAML source

View the package source record on GitHub. [combined/immich-cli.yml](https://github.com/automic-vault/db/blob/main/combined/immich-cli.yml)


## Sources

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