diff --git a/cli/bin/immich b/cli/bin/immich new file mode 100755 index 0000000000..924fff1230 --- /dev/null +++ b/cli/bin/immich @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import '../dist/index.js'; diff --git a/cli/package.json b/cli/package.json index e69555924d..ca4ada2f65 100644 --- a/cli/package.json +++ b/cli/package.json @@ -5,7 +5,7 @@ "type": "module", "exports": "./dist/index.js", "bin": { - "immich": "dist/index.js" + "immich": "./bin/immich" }, "license": "GNU Affero General Public License version 3", "keywords": [