mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
parent
45f1293a6d
commit
8b1e2c2674
1 changed files with 8 additions and 8 deletions
|
|
@ -6,8 +6,8 @@ Please see the [Immich CLI documentation](https://docs.immich.app/features/comma
|
|||
|
||||
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
|
||||
$ pnpm install
|
||||
$ pnpm run build
|
||||
|
||||
Then, to build the open-api client run the following in the open-api folder:
|
||||
|
||||
|
|
@ -15,16 +15,16 @@ Then, to build the open-api client run the following in the open-api folder:
|
|||
|
||||
To run the Immich CLI from source, run the following in the cli folder:
|
||||
|
||||
$ npm install
|
||||
$ npm run build
|
||||
$ pnpm install
|
||||
$ pnpm run build
|
||||
$ ts-node .
|
||||
|
||||
You'll need ts-node, the easiest way to install it is to use npm:
|
||||
You'll need ts-node, the easiest way to install it is to use pnpm:
|
||||
|
||||
$ npm i -g ts-node
|
||||
$ pnpm i -g ts-node
|
||||
|
||||
You can also build and install the CLI using
|
||||
|
||||
$ npm run build
|
||||
$ npm install -g .
|
||||
$ pnpm run build
|
||||
$ pnpm install -g .
|
||||
****
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue