1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 02:35:41 +02:00
tldr/pages/common/qwen.md
2025-07-26 16:13:24 +03:00

33 lines
753 B
Markdown

# qwen
> Launch an interactive prompt with Qwen3-Coder.
> See also: `gemini`.
> More information: <https://github.com/QwenLM/qwen-code>.
- Start a REPL session to chat interactively:
`qwen`
- Send the output of another command to Qwen and exit immediately:
`{{echo "Summarize the history of Rome"}} | qwen {{[-p|--prompt]}}`
- Override the default model (default: qwen3-coder-max):
`qwen {{[-m|--model]}} {{model_name}}`
- Run inside a sandbox container:
`qwen {{[-s|--sandbox]}}`
- Execute a prompt then stay in interactive mode:
`qwen {{[-i|--prompt-interactive]}} "{{Give me an example of recursion in Python}}"`
- Include all files in context:
`qwen {{[-a|--all-files]}}`
- Show memory usage in status bar:
`qwen --show-memory-usage`