# immich-cli を Homebrew, Nix でインストール

immich-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:immich-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/immich-cli>
- **バージョン:** 3.0.1
- **ソース概要:** Command-line interface for self-hosted photo manager Immich
- **ホームページ:** <https://immich.app/docs/features/command-line-interface>
- **リポジトリ:** <https://github.com/immich-app/immich>
- **上流ドキュメント:** <https://docs.immich.app/features/command-line-interface>
- **ライセンス:** AGPL-3.0-only
- **ソースアーカイブ:** <https://registry.npmjs.org/@immich/cli/-/cli-3.0.1.tgz>
- **最終更新:** 2026-07-04T02:30:15Z
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- immich (cli)
- immich (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 3.0.1
- マネージャ更新日: 2026-07-04
- ローカルデータ: OK
- 上流リポジトリ: https://immich.app/docs/features/command-line-interface
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/ja/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/ja/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [node](https://www.automicvault.com/ja/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [immich-go](https://www.automicvault.com/ja/pkg/brew/immich-go/) - Shares av.db curated category or tags: cli, immich, media, photos.
- [gphotos-uploader-cli](https://www.automicvault.com/ja/pkg/brew/gphotos-uploader-cli/) - Shares av.db curated category or tags: backup, cli, media, upload.
- [dvdbackup](https://www.automicvault.com/ja/pkg/brew/dvdbackup/) - Shares av.db curated category or tags: backup, cli, media.
- [ente-cli](https://www.automicvault.com/ja/pkg/brew/ente-cli/) - Shares av.db curated category or tags: cli, media, photos.
- [exif](https://www.automicvault.com/ja/pkg/brew/exif/) - Shares av.db curated category or tags: cli, media, photos.
- [instaloader](https://www.automicvault.com/ja/pkg/brew/instaloader/) - Shares av.db curated category or tags: cli, media, photos.
- [instalooter](https://www.automicvault.com/ja/pkg/brew/instalooter/) - Shares av.db curated category or tags: cli, media, photos.
- [a52dec](https://www.automicvault.com/ja/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, media.
- [lanraragi](https://www.automicvault.com/ja/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)


## ソース

- 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
