immich/packages/cli
bo0tzz 6221e29c70
fix: throw a typed error on malformed api responses (#31006)
* fix: throw a typed error on malformed api responses

* fix: drop response body parse check

* fix(web): keep json response validation when overriding fetch (#31008)

* fix(cli): report malformed api responses (#31007)
2026-08-26 00:38:39 +00:00
..
bin fix(cli): enforce node engine version on start (#30437) 2026-08-18 16:17:43 -04:00
src fix: throw a typed error on malformed api responses (#31006) 2026-08-26 00:38:39 +00:00
.editorconfig
.gitignore
.npmignore
.prettierignore
.prettierrc
Dockerfile chore(deps): update node.js to v24.19.0 (#30703) 2026-08-11 12:27:42 +02:00
eslint.config.mjs chore: single line block comments (#30852) 2026-08-18 17:55:26 +02:00
LICENSE
mise.toml chore: sequence pnpm installs in mise tasks (#30412) 2026-07-30 15:12:42 -04:00
package.json fix(cli): enforce node engine version on start (#30437) 2026-08-18 16:17:43 -04:00
README.md
tsconfig.json chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684) 2026-07-20 23:47:14 -04:00
vite.config.ts

A command-line interface for interfacing with the self-hosted photo manager Immich.

Please see the Immich CLI documentation.

For developers

Before building the CLI, you must build the immich server and the open-api client. You can use the following command:

$ mise //:open-api

Run from build

Go to the cli folder and build it:

$ pnpm install
$ pnpm run build
$ node dist/index.js

Run and Debug from source (VSCode)

With VScode you can run and debug the Immich CLI. Go to the launch.json file, find the Immich CLI config and change this with the command you need to debug

"args": ["upload", "--help"],

replace that for the command of your choice.

Install from build

You can also build and install the CLI using

$ pnpm run build
$ pnpm install -g .