{"schemaVersion":"opencli.cli.v1","slug":"qwen-code","name":"Qwen Code","shortName":"qwen","binaryName":"qwen","maker":{"slug":"qwen","name":"Qwen","type":"org","url":"https://qwen.ai","officialPlatformMaker":true,"featuredBuilder":false},"category":"AI","description":"The official CLI from Qwen. Coding agent, qwen models, and terminal ai from the terminal. Runs entirely on your machine.","tagline":"Coding agent, qwen models, and terminal ai from the terminal.","install":{"packageManager":"npm","command":"npm install -g @qwen-code/qwen-code","packageName":null,"npmPackage":null,"brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"qwen --help","signal":"qwen responds locally; authenticate before real work."},"quickStart":"qwen --help","exampleWorkflow":["qwen --help"],"agent":{"readiness":{"label":"Human-first CLI","score":20,"reasons":["Can run locally with less credential exposure."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Expect prompts; keep a human in the loop for interactive flows.","Verify identity/account before running task commands.","Network access is required; avoid leaking secrets in logs.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/qwen-code/agent.md","packMarkdown":"# OpenCLI Agent Pack: Qwen Code\n\nUse this when an AI agent needs to work with `qwen`.\n\n## What this CLI is for\nThe official CLI from Qwen. Coding agent, qwen models, and terminal ai from the terminal. Runs entirely on your machine.\n\nBest for: coding agent, qwen models, and terminal ai from the terminal.\n\n## Agent readiness\nHuman-first CLI (20/100)\n- Can run locally with less credential exposure.\n\n## Install\n```sh\nnpm install -g @qwen-code/qwen-code\n```\n\n## Verify before real work\n```sh\nqwen --help\n```\nExpected signal: qwen responds locally; authenticate before real work.\n\n## Safe starting commands\n```sh\nqwen --help\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Expect prompts; keep a human in the loop for interactive flows.\n- Verify identity/account before running task commands.\n- Network access is required; avoid leaking secrets in logs.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Qwen Code (`qwen`) for coding agent, qwen models, and terminal ai from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"coding agent, qwen models, and terminal ai from the terminal.","useThisIf":"You want AI models and inference that runs entirely on your machine.","skipIf":"You're not comfortable with a tool that can write to production.","whatHappensNext":"Run `qwen --help` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":false,"supportsDryRun":false,"requiresAuth":true,"requiresNetwork":true,"ciFriendly":false,"localFirst":true,"destructivePotential":"high"},"taxonomy":{"useCases":["Coding agent","Qwen models","Terminal AI"],"aliases":["qwen cli"],"keywords":["qwen","agent","coding","llm"],"tags":["agent","coding-agent"]},"links":{"website":"https://github.com/QwenLM/qwen-code","github":"https://github.com/QwenLM/qwen-code","docs":"https://github.com/QwenLM/qwen-code","opencli":"https://opencli.co/cli/qwen-code","markdown":"https://opencli.co/cli/qwen-code/agent.md","json":"https://opencli.co/cli/qwen-code.json"},"metrics":{"githubStars":25009,"latestRelease":"2026-06-08T10:50:29Z","license":"Apache-2.0","metricLabel":"npm weekly downloads","metricValue":83956,"metricSource":"npm","metricAsOf":"2026-06-08T11:01:15.714Z"}}