{"id":29806342,"url":"https://github.com/QwenLM/qwen-code","last_synced_at":"2025-07-28T14:08:09.194Z","repository":{"id":305963152,"uuid":"1008713177","full_name":"QwenLM/qwen-code","owner":"QwenLM","description":"qwen-code is a coding agent that lives in digital world.","archived":false,"fork":false,"pushed_at":"2025-07-22T21:27:58.000Z","size":4485,"stargazers_count":244,"open_issues_count":0,"forks_count":24,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-22T23:28:17.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QwenLM.png","metadata":{"files":{"readme":"README.gemini.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T01:37:46.000Z","updated_at":"2025-07-22T23:28:15.000Z","dependencies_parsed_at":"2025-07-22T23:39:06.101Z","dependency_job_id":null,"html_url":"https://github.com/QwenLM/qwen-code","commit_stats":null,"previous_names":["qwenlm/qwen-code"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/QwenLM/qwen-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwenLM%2Fqwen-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwenLM%2Fqwen-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwenLM%2Fqwen-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwenLM%2Fqwen-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QwenLM","download_url":"https://codeload.github.com/QwenLM/qwen-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwenLM%2Fqwen-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-28T14:05:58.052Z","updated_at":"2025-07-28T14:08:09.183Z","avatar_url":"https://github.com/QwenLM.png","language":"TypeScript","readme":"# Gemini CLI\n\n[![Gemini CLI CI](https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml)\n\n![Gemini CLI Screenshot](./docs/assets/gemini-screenshot.png)\n\nThis repository contains the Gemini CLI, a command-line AI workflow tool that connects to your\ntools, understands your code and accelerates your workflows.\n\nWith the Gemini CLI you can:\n\n- Query and edit large codebases in and beyond Gemini's 1M token context window.\n- Generate new apps from PDFs or sketches, using Gemini's multimodal capabilities.\n- Automate operational tasks, like querying pull requests or handling complex rebases.\n- Use tools and MCP servers to connect new capabilities, including [media generation with Imagen,\n  Veo or Lyria](https://github.com/GoogleCloudPlatform/vertex-ai-creative-studio/tree/main/experiments/mcp-genmedia)\n- Ground your queries with the [Google Search](https://ai.google.dev/gemini-api/docs/grounding)\n  tool, built in to Gemini.\n\n## Quickstart\n\n1. **Prerequisites:** Ensure you have [Node.js version 20](https://nodejs.org/en/download) or higher installed.\n2. **Run the CLI:** Execute the following command in your terminal:\n\n   ```bash\n   npx https://github.com/google-gemini/gemini-cli\n   ```\n\n   Or install it with:\n\n   ```bash\n   npm install -g @google/gemini-cli\n   ```\n\n   Then, run the CLI from anywhere:\n\n   ```bash\n   gemini\n   ```\n\n3. **Pick a color theme**\n4. **Authenticate:** When prompted, sign in with your personal Google account. This will grant you up to 60 model requests per minute and 1,000 model requests per day using Gemini.\n\nYou are now ready to use the Gemini CLI!\n\n### Use a Gemini API key:\n\nThe Gemini API provides a free tier with [100 requests per day](https://ai.google.dev/gemini-api/docs/rate-limits#free-tier) using Gemini 2.5 Pro, control over which model you use, and access to higher rate limits (with a paid plan):\n\n1. Generate a key from [Google AI Studio](https://aistudio.google.com/apikey).\n2. Set it as an environment variable in your terminal. Replace `YOUR_API_KEY` with your generated key.\n\n   ```bash\n   export GEMINI_API_KEY=\"YOUR_API_KEY\"\n   ```\n\n3. (Optionally) Upgrade your Gemini API project to a paid plan on the API key page (will automatically unlock [Tier 1 rate limits](https://ai.google.dev/gemini-api/docs/rate-limits#tier-1))\n\n### Use a Vertex AI API key:\n\nThe Vertex AI API provides a [free tier](https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview) using express mode for Gemini 2.5 Pro, control over which model you use, and access to higher rate limits with a billing account:\n\n1. Generate a key from [Google Cloud](https://cloud.google.com/vertex-ai/generative-ai/docs/start/api-keys).\n2. Set it as an environment variable in your terminal. Replace `YOUR_API_KEY` with your generated key and set GOOGLE_GENAI_USE_VERTEXAI to true\n\n   ```bash\n   export GOOGLE_API_KEY=\"YOUR_API_KEY\"\n   export GOOGLE_GENAI_USE_VERTEXAI=true\n   ```\n\n3. (Optionally) Add a billing account on your project to get access to [higher usage limits](https://cloud.google.com/vertex-ai/generative-ai/docs/quotas)\n\nFor other authentication methods, including Google Workspace accounts, see the [authentication](./docs/cli/authentication.md) guide.\n\n## Examples\n\nOnce the CLI is running, you can start interacting with Gemini from your shell.\n\nYou can start a project from a new directory:\n\n```sh\ncd new-project/\ngemini\n\u003e Write me a Gemini Discord bot that answers questions using a FAQ.md file I will provide\n```\n\nOr work with an existing project:\n\n```sh\ngit clone https://github.com/google-gemini/gemini-cli\ncd gemini-cli\ngemini\n\u003e Give me a summary of all of the changes that went in yesterday\n```\n\n### Next steps\n\n- Learn how to [contribute to or build from the source](./CONTRIBUTING.md).\n- Explore the available **[CLI Commands](./docs/cli/commands.md)**.\n- If you encounter any issues, review the **[troubleshooting guide](./docs/troubleshooting.md)**.\n- For more comprehensive documentation, see the [full documentation](./docs/index.md).\n- Take a look at some [popular tasks](#popular-tasks) for more inspiration.\n- Check out our **[Official Roadmap](./ROADMAP.md)**\n\n### Troubleshooting\n\nHead over to the [troubleshooting guide](docs/troubleshooting.md) if you're\nhaving issues.\n\n## Popular tasks\n\n### Explore a new codebase\n\nStart by `cd`ing into an existing or newly-cloned repository and running `gemini`.\n\n```text\n\u003e Describe the main pieces of this system's architecture.\n```\n\n```text\n\u003e What security mechanisms are in place?\n```\n\n### Work with your existing code\n\n```text\n\u003e Implement a first draft for GitHub issue #123.\n```\n\n```text\n\u003e Help me migrate this codebase to the latest version of Java. Start with a plan.\n```\n\n### Automate your workflows\n\nUse MCP servers to integrate your local system tools with your enterprise collaboration suite.\n\n```text\n\u003e Make me a slide deck showing the git history from the last 7 days, grouped by feature and team member.\n```\n\n```text\n\u003e Make a full-screen web app for a wall display to show our most interacted-with GitHub issues.\n```\n\n### Interact with your system\n\n```text\n\u003e Convert all the images in this directory to png, and rename them to use dates from the exif data.\n```\n\n```text\n\u003e Organize my PDF invoices by month of expenditure.\n```\n\n### Uninstall\n\nHead over to the [Uninstall](docs/Uninstall.md) guide for uninstallation instructions.\n\n## Terms of Service and Privacy Notice\n\nFor details on the terms of service and privacy notice applicable to your use of Gemini CLI, see the [Terms of Service and Privacy Notice](./docs/tos-privacy.md).\n","funding_links":[],"categories":["AI Agent Frameworks","TypeScript","Tools and Code","others","AI driven development","CLI","A01_文本生成_文本对话","CLI \u0026 Terminal Tools","Alternatives to Claude Code","命令行工具","💻 Terminal-Based AI Agents","Development Toolkits","Terminal \u0026 CLI Agents","Uncategorized","AI Coding Assistants \u0026 Agents","Repos","Terminal-Based AI Agents"],"sub_categories":["General Agent Frameworks","Vibe Coding and AI Coding Assistants","大语言对话模型及数据","AI Coding CLIs","CLI Tools","Uncategorized","Provider-Native Coding CLIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQwenLM%2Fqwen-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQwenLM%2Fqwen-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQwenLM%2Fqwen-code/lists"}