0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-08 03:01:32 -05:00
immich/cli
2025-04-08 04:17:11 +00:00
..
src feat(cli): watch paths for auto uploading daemon () 2025-03-03 13:05:32 -05:00
.editorconfig
.gitignore
.npmignore
.nvmrc chore(deps): update node.js to v22.14.0 () 2025-02-15 21:29:33 -06:00
.prettierignore
.prettierrc
Dockerfile chore(deps): update node () 2025-03-03 14:31:34 -05:00
eslint.config.mjs chore: finish migrating eslint config files; bump unicorn () 2025-03-31 12:18:25 +01:00
LICENSE
package-lock.json fix(deps): update typescript-projects 2025-04-08 04:17:11 +00:00
package.json chore: version v1.131.3 2025-04-01 22:27:52 +00:00
README.md fix(cli): Update build instructions for CLI () 2024-08-28 13:25:58 +00:00
tsconfig.json
vite.config.ts fix(cli): handle patterns correctly on Windows () 2024-06-21 17:09:02 -07:00
vitest.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. To build the server run the following in the server folder:

$ npm install
$ npm run build

Then, to build the open-api client run the following in the open-api folder:

$ ./bin/generate-open-api.sh

To run the Immich CLI from source, run the following in the cli folder:

$ npm install
$ npm run build
$ ts-node .

You'll need ts-node, the easiest way to install it is to use npm:

$ npm i -g ts-node

You can also build and install the CLI using

$ npm run build
$ npm install -g .