CLI commands and flags

--settings

Overrides settings using a JSON file under 2 MiB or an inline JSON string for the current session.

Syntax

--settings

Example

Terminal
claude --settings ./settings.json

Type to search the reference, templates and lessons.