Skip to content

High performance self-hosted photo and video management solution.

chore(server): remove pre-installed cli (#8224)

Jason Rasmussena771c563badd
diff --git a/docs/docs/features/command-line-interface.md b/docs/docs/features/command-line-interface.md
index d4c3a1d8ef..bb34f8a0f6 100644
--- a/docs/docs/features/command-line-interface.md
+++ b/docs/docs/features/command-line-interface.md
@@ -1,6 +1,6 @@
# The Immich CLI
-Immich has a CLI that allows you to perform certain actions from the command line. This CLI replaces the [legacy CLI](https://github.com/immich-app/CLI) that was previously available. The CLI is hosted in the [cli folder of the the main Immich github repository](https://github.com/immich-app/immich/tree/main/cli).
+Immich has a command line interface (CLI) that allows you to perform certain actions from the command line.
## Features
diff --git a/server/bin/immich b/server/bin/immich
deleted file mode 100755
index 6b7dc3aa3f..0000000000
--- a/server/bin/immich
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-node /usr/src/app/node_modules/.bin/immich "$@"
diff --git a/server/package-lock.json b/server/package-lock.json
index d36229b147..4e82172cb3 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -10,7 +10,6 @@
"license": "GNU Affero General Public License version 3",
"dependencies": {
"@babel/runtime": "^7.22.11",
- "@immich/cli": "^2.0.7",
"@nestjs/bullmq": "^10.0.1",
"@nestjs/common": "^10.2.2",
"@nestjs/config": "^3.0.0",
@@ -1718,20 +1717,6 @@
"url": "https://opencollective.com/libvips"
}
},
- "node_modules/@immich/cli": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@immich/cli/-/cli-2.1.0.tgz",
- "integrity": "sha512-3s/8+Js1dAwibzgaRtZ+bsAL9nOtvoEX/qMlOTgbgLf/lT96M88QScqhb+YrU2l3WBugtts6xW76XQTrWGXcmw==",
- "dependencies": {
- "lodash-es": "^4.17.21"
- },
- "bin": {
- "immich": "dist/index.js"
- },
- "engines": {
- "node": ">=20.0.0"
- }
- },
"node_modules/@ioredis/commands": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz",
@@ -10152,11 +10137,6 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
- "node_modules/lodash-es": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
- "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
- },
"node_modules/lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
@@ -15604,14 +15584,6 @@
"integrity": "sha512-E4magOks77DK47FwHUIGH0RYWSgRBfGdK56kIHSVeB9uIS4pPFr4N2kIVsXdQQo4LzOsENKV5KAhRlRL7eMAdg==",
"optional": true
},
- "@immich/cli": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@immich/cli/-/cli-2.1.0.tgz",
- "integrity": "sha512-3s/8+Js1dAwibzgaRtZ+bsAL9nOtvoEX/qMlOTgbgLf/lT96M88QScqhb+YrU2l3WBugtts6xW76XQTrWGXcmw==",
- "requires": {
- "lodash-es": "^4.17.21"
- }
- },
"@ioredis/commands": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz",
@@ -21877,11 +21849,6 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
- "lodash-es": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
- "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
- },
"lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
diff --git a/server/package.json b/server/package.json
index ead525a6e1..45d719af9a 100644
--- a/server/package.json
+++ b/server/package.json
@@ -34,7 +34,6 @@
},
"dependencies": {
"@babel/runtime": "^7.22.11",
- "@immich/cli": "^2.0.7",
"@nestjs/bullmq": "^10.0.1",
"@nestjs/common": "^10.2.2",
"@nestjs/config": "^3.0.0",