chore: update cli docs to pnpm (#22702)

update cli docs to pnpm
This commit is contained in:
Jorge Montejo 2025-10-06 18:39:23 +02:00 committed by Chaoscontrol
parent 45f1293a6d
commit 8b1e2c2674

View file

@ -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: 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 $ pnpm install
$ npm run build $ pnpm run build
Then, to build the open-api client run the following in the open-api folder: 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: To run the Immich CLI from source, run the following in the cli folder:
$ npm install $ pnpm install
$ npm run build $ pnpm run build
$ ts-node . $ 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 You can also build and install the CLI using
$ npm run build $ pnpm run build
$ npm install -g . $ pnpm install -g .
**** ****