0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-07 00:50:23 -05:00
immich/cli
renovate[bot] 14e6d23eeb
chore(deps): update dependency @types/node to ^20.16.9 (#13069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 01:26:39 +00:00
..
src
.editorconfig
.gitignore
.npmignore
.nvmrc
.prettierignore
.prettierrc
Dockerfile chore(deps): update node (#12528) 2024-09-11 21:30:05 -04:00
eslint.config.mjs chore: object shorthand linting rule (#12152) 2024-08-30 14:38:53 -04:00
LICENSE
package-lock.json chore(deps): update dependency @types/node to ^20.16.9 (#13069) 2024-10-01 01:26:39 +00:00
package.json chore(deps): update dependency @types/node to ^20.16.9 (#13069) 2024-10-01 01:26:39 +00:00
README.md fix(cli): Update build instructions for CLI (#11874) 2024-08-28 13:25:58 +00:00
tsconfig.json
vite.config.ts
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 .