HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

qwen — Launch an interactive prompt with Qwen3-Coder. See also: `gemini`. More information: <https://github

Submitted by: @import:tldr-pages··
0
Viewed 0 times
promptcommandqwen3launchcliwithinteractiveqwen

Problem

How to use the qwen command: Launch an interactive prompt with Qwen3-Coder. See also: gemini. More information: <https://github.com/QwenLM/qwen-code>.

Solution

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

Code Snippets

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}}"

Context

tldr-pages: common/qwen

Revisions (0)

No revisions yet.