Skip to content

High performance self-hosted photo and video management solution.

chore: update cli docs to pnpm (#22702)

Jorge Montejo119f92bb20b7
diff --git a/cli/README.md b/cli/README.md
index ae82e131f4..09f5b163f7 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -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 .
****