Usage Tips
Practical notes on CLI behaviour that isn't obvious from --help alone.
- Required boolean flags (e.g.
--dry-run) are simple toggles: present = true, absent = false. - Optional boolean flags (e.g.
--shared) accepttrueorfalseas a string value, or can be omitted entirely. Omission sends no value and lets the server apply its default — passingfalseexplicitly is different from omitting the flag. - JSON flags (e.g.
--album-users) expect a valid JSON object string — the value is validated but there is no autocompletion. Run--helpon the command to see the expected keys. - Flags that map to an array field can be repeated to pass multiple values (e.g.
--album-users '...' --album-users '...'). See the share album example. - Every command's
--helpincludes a link to the corresponding Immich API documentation page. - For authentication options and priority, see Authentication.