~ ➤ claude -hUsage:claude [options] [command][prompt]ClaudeCode-startsaninteractivesessionbydefault,use-p/--printfornon-interactiveoutputArguments:promptYourpromptOptions:-d,--debugEnabledebugmode--verboseOverrideverbosemodesettingfromconfig-p,--printPrintresponseandexit (useful forpipes)--output-format<format>Outputformat (only workswith--print): "text"(default), "json"(singleresult), or"stream-json" (realtime streaming) (choices:"text","json","stream-json")--input-format<format>Inputformat (only workswith--print): "text"(default), or "stream-json"(realtimestreaminginput)(choices:"text","stream-json")--mcp-debug [DEPRECATED. Use--debuginstead]EnableMCPdebugmode (shows MCPservererrors)--dangerously-skip-permissionsBypassallpermissionchecks.Recommendedonlyforsandboxeswithnointernetaccess.--allowedTools<tools...>Commaorspace-separatedlistoftoolnamestoallow (e.g. "Bash(git:*) Edit")--disallowedTools<tools...>Commaorspace-separatedlistoftoolnamestodeny (e.g. "Bash(git:*) Edit")--mcp-config<fileorstring>LoadMCPserversfromaJSONfileorstring-c,--continueContinuethemostrecentconversation-r,--resume [sessionId] Resume a conversation - provide a session ID or interactively select a conversation toresume--model<model>Modelforthecurrentsession.Provideanaliasforthelatestmodel (e.g. 'sonnet'or'opus') or a model's full name (e.g. 'claude-sonnet-4-20250514'). --fallback-model <model> Enable automatic fallback to specified model when default model is overloaded (only works with --print) --add-dir <directories...> Additional directories to allow tool access to -v, --version Output the version number -h, --help Display help for commandCommands: config Manage configuration (eg. claude config set -g theme dark) mcp Configure and manage MCP servers migrate-installer Migrate from global npm installation to local installation doctor Check the health of your Claude Code auto-updater update Check for updates and install if available
Leave a Reply