immich/packages/cli
2026-08-12 18:01:30 +02:00
..
bin refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
src chore(cli): remove -h shorthand for --skip-hash (#30119) 2026-07-22 13:25:29 +02:00
.editorconfig refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
.gitignore refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
.npmignore refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
.prettierignore refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
.prettierrc refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
Dockerfile chore(deps): update node.js to v24.19.0 (#30703) 2026-08-11 12:27:42 +02:00
eslint.config.mjs chore: use import.meta.dirname instead of __dirname (#30738) 2026-08-12 18:01:30 +02:00
LICENSE refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00
mise.toml chore: sequence pnpm installs in mise tasks (#30412) 2026-07-30 15:12:42 -04:00
package.json chore: version v3.1.0 2026-07-27 18:20:33 +00:00
README.md chore: mise scripts (#28367) 2026-05-11 17:46:02 -04:00
tsconfig.json chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684) 2026-07-20 23:47:14 -04:00
vite.config.ts refactor: move cli to package folder (#28356) 2026-05-11 14:49:45 -04:00

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 .