[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-gitbito--CLI":3,"tool-gitbito--CLI":62},[4,18,26,36,46,54],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":10,"last_commit_at":24,"category_tags":25,"status":17},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[14,15,13],{"id":27,"name":28,"github_repo":29,"description_zh":30,"stars":31,"difficulty_score":32,"last_commit_at":33,"category_tags":34,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",160411,2,"2026-04-18T23:33:24",[14,13,35],"语言模型",{"id":37,"name":38,"github_repo":39,"description_zh":40,"stars":41,"difficulty_score":42,"last_commit_at":43,"category_tags":44,"status":17},8272,"opencode","anomalyco\u002Fopencode","OpenCode 是一款开源的 AI 编程助手（Coding Agent），旨在像一位智能搭档一样融入您的开发流程。它不仅仅是一个代码补全插件，而是一个能够理解项目上下文、自主规划任务并执行复杂编码操作的智能体。无论是生成全新功能、重构现有代码，还是排查难以定位的 Bug，OpenCode 都能通过自然语言交互高效完成，显著减少开发者在重复性劳动和上下文切换上的时间消耗。\n\n这款工具专为软件开发者、工程师及技术研究人员设计，特别适合希望利用大模型能力来提升编码效率、加速原型开发或处理遗留代码维护的专业人群。其核心亮点在于完全开源的架构，这意味着用户可以审查代码逻辑、自定义行为策略，甚至私有化部署以保障数据安全，彻底打破了传统闭源 AI 助手的“黑盒”限制。\n\n在技术体验上，OpenCode 提供了灵活的终端界面（Terminal UI）和正在测试中的桌面应用程序，支持 macOS、Windows 及 Linux 全平台。它兼容多种包管理工具，安装便捷，并能无缝集成到现有的开发环境中。无论您是追求极致控制权的资深极客，还是渴望提升产出的独立开发者，OpenCode 都提供了一个透明、可信",144296,1,"2026-04-16T14:50:03",[13,45],"插件",{"id":47,"name":48,"github_repo":49,"description_zh":50,"stars":51,"difficulty_score":32,"last_commit_at":52,"category_tags":53,"status":17},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",109154,"2026-04-18T11:18:24",[14,15,13],{"id":55,"name":56,"github_repo":57,"description_zh":58,"stars":59,"difficulty_score":32,"last_commit_at":60,"category_tags":61,"status":17},6121,"gemini-cli","google-gemini\u002Fgemini-cli","gemini-cli 是一款由谷歌推出的开源 AI 命令行工具，它将强大的 Gemini 大模型能力直接集成到用户的终端环境中。对于习惯在命令行工作的开发者而言，它提供了一条从输入提示词到获取模型响应的最短路径，无需切换窗口即可享受智能辅助。\n\n这款工具主要解决了开发过程中频繁上下文切换的痛点，让用户能在熟悉的终端界面内直接完成代码理解、生成、调试以及自动化运维任务。无论是查询大型代码库、根据草图生成应用，还是执行复杂的 Git 操作，gemini-cli 都能通过自然语言指令高效处理。\n\n它特别适合广大软件工程师、DevOps 人员及技术研究人员使用。其核心亮点包括支持高达 100 万 token 的超长上下文窗口，具备出色的逻辑推理能力；内置 Google 搜索、文件操作及 Shell 命令执行等实用工具；更独特的是，它支持 MCP（模型上下文协议），允许用户灵活扩展自定义集成，连接如图像生成等外部能力。此外，个人谷歌账号即可享受免费的额度支持，且项目基于 Apache 2.0 协议完全开源，是提升终端工作效率的理想助手。",100752,"2026-04-10T01:20:03",[45,13,15,14],{"id":63,"github_repo":64,"name":65,"description_en":66,"description_zh":67,"ai_summary_zh":67,"readme_en":68,"readme_zh":69,"quickstart_zh":70,"use_case_zh":71,"hero_image_url":72,"owner_login":73,"owner_name":74,"owner_avatar_url":75,"owner_bio":76,"owner_company":77,"owner_location":77,"owner_email":78,"owner_twitter":77,"owner_website":79,"owner_url":80,"languages":77,"stars":81,"forks":82,"last_commit_at":83,"license":84,"difficulty_score":42,"env_os":85,"env_gpu":86,"env_ram":86,"env_deps":87,"category_tags":90,"github_topics":91,"view_count":32,"oss_zip_url":77,"oss_zip_packed_at":77,"status":17,"created_at":111,"updated_at":112,"faqs":113,"releases":114},9469,"gitbito\u002FCLI","CLI","Bito CLI (Command Line Interface) provides a command line interface to the Bito AI chat functionality. Over time, CLI will add more functions and new command options to support complex automation and workflows.  This is a very early Alpha version. We would love to get your feedback on the new features or improvements.","Bito CLI 是一款将 Bito AI 聊天功能引入命令行的开源工具，让用户无需离开终端即可直接与人工智能互动。它主要解决了开发者在编写脚本、调试代码或查询技术命令时，频繁切换窗口至网页或图形界面导致工作流中断的痛点。通过简单的命令行指令，用户能快速获取如 awk 命令用法、代码片段生成等技术支持，显著提升开发效率。\n\n这款工具特别适合习惯使用终端的开发者、运维工程师及技术研究人员。其独特亮点在于支持多行长文本输入（通过 Ctrl+D 提交），能够处理复杂的提示词和自动化工作流需求。目前 Bito CLI 处于早期 Alpha 版本，正积极迭代以支持更丰富的功能选项。它提供跨平台支持，涵盖 Mac、Linux 及 Windows 系统，并提供了包括一键脚本、Homebrew、AUR 源及 MSI 安装包在内的多种便捷安装方式。对于希望将 AI 辅助深度集成到现有命令行工作流中的技术用户而言，Bito CLI 是一个值得尝试的高效助手。","# Bito CLI\nBito CLI (Command Line Interface) provides a command line interface to the Bito AI chat functionality. Over time, CLI will add more functions and new command options to support complex automation and workflows.\n\nThis is a very early Alpha version. We would love to get your feedback on the new features or improvements.  Please write us at founders@bito.ai or support@bito.ai. \n\n#### Prerequisites\nTerminal\n* Bash (for Mac and Linux)\n* CMD (for Windows)\n\n## Using Bito CLI\n- **Execute Chat:** Run ```bito``` command on command prompt to get started. Ask anything you want help with such as `awk command to print first and last column`.\n\n    **Note:** Bito CLI supports long prompts through multiline input. To complete and submit the prompt, press `Ctrl+D`. Enter\u002FReturn key adds a new line to the input.\n- **Exit Bito CLI:** To quit\u002Fexit from Bito CLI, type ```quit``` and press ```Ctrl+D``` .\n- **Terminate:** Press ```Ctrl+C``` to Bito CLI.\n\n### Getting Started\nCheck out the video below to get started with Bito CLI\n\nhttps:\u002F\u002Fuser-images.githubusercontent.com\u002F61789690\u002F236821693-11705a17-e2a8-4f7c-8921-a47e75c81794.mp4\n\n## Installing Bito CLI (Recommended)\nWe recommend you use the following methods to install Bito CLI.\n\n### MAC and Linux\n\n```sudo curl https:\u002F\u002Falpha.bito.ai\u002Fdownloads\u002Fcli\u002Finstall.sh -fsSL | bash``` (curl will always download the latest version)\n\n#### Archlinux \n\nArch and  Arch based distro users can install it from [AUR](https:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Fbito-cli)\n\n``` yay -S bito-cli``` or ```paru -S bito-cli```\n\n#### Using Homebrew:\n1. Before using homebrew, please make sure that you uninstall any previously installed versions of Bito CLI using the uninstall script provided [here](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI#uninstalling-bito-cli).\n2. Once above is done then you can use following commands to install Bito CLI using homebrew:\n    - First tap the CLI repo using ```brew tap gitbito\u002Fbitocli```, this should be a one time action and not required every time.\n    - Now you can install Bito CLI using following command:\n        - ```brew install bito-cli``` - this should install Bito CLI based upon your machine architecture.\n    - To update Bito CLI to the latest version, use following commands:\n        - Please make sure you always do ```brew update``` before upgrading to avoid any errors.\n        - ```brew update``` - this will update all the required packages before upgrading.\n        - ```brew upgrade bito-cli``` - once above is done, this will update Bito CLI to the latest version.\n    - To uninstall Bito CLI you can either use the uninstall command from [here](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI#uninstalling-bito-cli) or use following commands:\n        - ```brew uninstall bito-cli``` - this should uninstall Bito CLI completely from your system.\n\n**Note for the Mac Users:** You might face issue related to verification for which you will have to manually do the steps from [here](https:\u002F\u002Fsupport.apple.com\u002Fen-in\u002Fguide\u002Fmac-help\u002Fmh40616\u002Fmac) (we are working on fixing it as soon as possible).\n\n### Windows\n\n1. Install the Bito CLI through MSI using this [installer](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI\u002Fblob\u002Fmain\u002Fversion-5.3\u002FBito%20CLI.exe).\n2. On Windows 11 you might get notification related to publisher verification. Click on \"Show more\" or \"More info\" and click on \"Run anyway\" (we are working on fixing this as soon as possible).\n3. Once the installation is complete, start a new command prompt and run ```bito``` to get started.\n\n## Uninstalling Bito CLI\n\n### MAC and Linux\n\n```sudo curl https:\u002F\u002Falpha.bito.ai\u002Fdownloads\u002Fcli\u002Funinstall.sh -fsSL | bash``` (this will completely uninstall Bito CLI and all of its components)\n\n### Windows\n\nFor Windows you can uninstall Bito CLI just like you do for any other software uninstall from control panel. You can still refer the link provided [here](https:\u002F\u002Fsharestage.bito.co\u002Fstatic\u002Fshare?aid=91940c09-0813-495d-9ea8-a89f1db19fdc).\n\n\n## Installing with Manual Binary Download (Not Recommended)\nWhile it's not recommended, you can download the Bito CLI binary from our repository, and install is manually. The binary is available for Linux and Mac OS, x86 and ARM architecture. \n\n### Mac & Linux\n\n1. Download Bito CLI binary specific to your OS platform from [here](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI\u002Ftree\u002Fmain\u002Fversion-5.3) (Please download the latest version for all new updates).\n2. Start the terminal, go to the location where your downloaded the binary, move the downloaded file (in the command below use bito-* filename you have downloaded) to filename bito\n    ``` mv bito-\u003Cos>-\u003Carch> bito ```\n2. Make the file executable using following command\n   ```chmod +x .\u002Fbito```\n3. Copy the binary to \u002Fusr\u002Flocal\u002Fbin using following command\n    ```sudo cp .\u002Fbito \u002Fusr\u002Flocal\u002Fbin```\n4. Set PATH variable so that Bito CLI is always accessible.\n    ```PATH=$PATH:\u002Fusr\u002Flocal\u002Fbin```\n5. Run Bito CLI with ```bito``` command. If PATH variable is not set, you will need to run command with the complete or relative path to the Bito executable binary. \n### Windows\n1. For using bito CLI, always move to the directory containing bito CLI prior to running it.\n2. Set PATH variable so that bito CLI is always accessible.\n    * Follow the instructions as per this [link](https:\u002F\u002Fshare.bito.co\u002Fstatic\u002Fshare?aid=02f4506f-1208-4d97-bb1d-96f3b4a1a017)\n    * Edit the \"Path\" variable and add new path of the location where bito CLI is installed on your machine.\n\n\n### Bito CLI Commands\n#### help\n- On MAC\u002FLinux: \nrun ```bito --help``` or ```bito config --help```\n\n- On Windows: \nrun ```bito --help``` or ```bito config --help```\n\n#### Slash Commands\nSlash Commands are introduced in Bito CLI to help make features like \"AI that understands your code\" to be available via the CLI. With this, you can access your code index created by the Bito extension in your IDE.  Slash commands can be used to quickly execute actions like viewing all local code indexes, selecting a particular local code index and finally making LCA queries for that index.\n\n- Type \"\u002F\" in bito> prompt of interactive mode of Bito CLI and hit ENTER or TAB to view all available commands.\n- Type \"\u002F[command_name]\" in bito> prompt of interactive mode of Bito CLI and hit ENTER or TAB to view all available options for that command.\n- Type \"\u002F[command_name] [option_name]\" in bito> prompt of interactive mode of Bito CLI and hit ENTER or TAB to execute the available option. \n- Run ```bito --help``` for help related to slash commands.\n\n#### Bito CLI MyPrompt (Automation using Bito CLI)\n##### On MAC\u002FLinux: \n\n- run ```bito -v``` or ```bito --version``` to print the version number of Bito CLI installed currently.\n\n- run ```bito –p writedocprompt.txt -f mycode.js``` for non-interactive mode in Bito (where writedocprompt.txt will contain your prompt text such as \"Explain the code below in brief\" and mycode.js will contain the actual code on which the action is to be performed).\n\n- run ```bito –p writedocprompt.txt``` to read the content at standard input in Bito (where writedocprompt.txt will contain your prompt text such as \"Explain the code below in brief\" and input provided will have the actual content on which the action is to be performed).\n\n- run ```cat file.txt | bito``` to directly cat a file and pipe it to bito and get instant result for your query.\n\n- run ```cat inventory.sql | bito -p testdataprompt.txt > testdata.sql``` to redirect your output directly to a file (where -p can be used along with cat to perform prompt related action on the given content).\n\n- run ```cat inventory.sql | bito -c runcontext.txt -p testdataprompt.txt > testdata.sql``` to store context\u002Fconversation history in non-interactive mode in file `runcontext.txt` to use for next set of commands in case prior context is needed. If `runcontext.txt` is not present it will be created. Please provide a new file or an existing context file created by bito using `-c` option. ***With `-c` option now context is supported in non-interactive mode***\n\n- run ```echo \"give me code for bubble sort in python\" | bito``` to instantly get response for your queries using Bito CLI.\n\n##### On Windows: \n- run ```bito -v``` or ```bito --version``` to print the version number of Bito CLI installed currently.\n\n- run ```bito –p writedocprompt.txt -f mycode.js``` for non-interactive mode in Bito (where writedocprompt.txt will contain your prompt text such as \"Explain the code below in brief\" and mycode.js will contain the actual code on which the action is to be performed).\n\n- run ```bito –p writedocprompt.txt``` to read the content at standard input in Bito (where writedocprompt.txt will contain your prompt text such as \"Explain the code below in brief\" and input provided will have the actual content on which the action is to be performed).\n\n- run ```type file.txt | bito``` to take input from file in windows and pipe it to bito and get instant result for your query.\n\n- run ```type inventory.sql | bito -p testdataprompt.txt > testdata.sql``` to redirect your output directly to a file (where -p can be used along with type to perform prompt related action on the given content).\n\n- run ```type inventory.sql | bito -c runcontext.txt -p testdataprompt.txt > testdata.sql``` to store context\u002Fconversation history in non-interactive mode in file `runcontext.txt` to use for next set of commands in case prior context is needed. If `runcontext.txt` is not present it will be created. Please provide a new file or an existing context file created by bito using `-c` option. ***With `-c` option now context is supported in non-interactive mode***\n\n- run ```echo \"give me code for bubble sort in python\" | bito``` to instantly get response for your queries using Bito CLI.\n\n#### More on Bito CLI MyPrompt:\n\n##### Using Comments:\n\nAnything after ```#``` in your prompt file will be considered as a comment by Bito CLI and won't be part of your prompt.\n\nYou can use ```\\#``` as an escape sequence to make ```#``` as a part of your prompt and to not use it for commenting anymore.\n\n###### Few examples for above:\n\n1. Give me an example of bubble sort in python # everything written here will be considered as a comment now.\n2. Explain what this part of the code do: ```\\#include\u003Cstdio.h>```  \n    i. in the example above ```\\#``` can be used as an escape sequence to include ```#``` as a part of your prompt.\n3. #This will be considered as a comment as it contains # at the start of the line itself.\n\n##### Disabling Comments:\n\nTo treat # as normal character and not a special character to mark starting of a comment (which is the default behavior), one can use -i\u002F--ignore flag in your command for Bito CLI.  \nUsing -i\u002F--ignore flag in your command for Bito CLI will let Bito CLI know to not treat ```#``` specially and use it as part of the prompt for processing.   \n\nEg. \"bito -p prompt.txt -i\" will make sure that even if ```#``` is present in your prompt file, it won't be considered as a comment and your file will be processed as it is.\n\n\n##### Using Macro:\n\nUse ``{{%input%}}`` macro in the prompt file to refer to the contents of the file provided via -f option\n\nExample: To check if a file contains JS code or not, you can create a prompt file checkifjscode.txt with following prompt:\n```\nContext is provided below within contextstart and contextend\ncontextstart\n{{%input%}}\ncontextend\nCheck if content provided in context is JS code.\n```\n\n#### Examples: \nHere are two examples for you to see My Prompt in action:\n\n1. How to Create Git Commit Messages and Markdown Documentation with Ease using Bito CLI My Prompt:\n\n[![Video](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fgitbito_CLI_readme_c454013a94a9.png)](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=q42hqwT-jsg)\n\n2. How to generate test data using Bito CLI My Prompt:\n\n[![Video](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fgitbito_CLI_readme_25042911604a.png)](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=GYa0p511NUQ)\n\n### Bito CLI Configuration\n#### bito config [flags]\n\n- run ```bito config -l``` or ```bito config --list``` to list all config variables and values.\n\n- run ```bito config -e``` or ```bito config --edit``` to open the config file in default editor.\n\n#### Sample Configuration\n\nbito:\u003Cbr\u002F>\n&emsp;access_key: \"\"\u003Cbr\u002F>\n&emsp;email: first.last@mycompany.com\u003Cbr\u002F>\n&emsp;preferred_ai_model: ADVANCED\u003Cbr\u002F>\nsettings:\u003Cbr\u002F>\n&emsp;auto_update: true\u003Cbr\u002F>\n&emsp;max_context_entries: 20\u003Cbr\u002F>\n\n##### Preferred AI Model Type\nBy default AI Model Type is set to ```ADVANCED``` and it can be overridden by running ```bito -m \u003CBASIC\u002FADVANCED>```\nModel type is used for AI query in the current session. Model type can be set to ```BASIC``` or ```ADVANCED```, which is case insensitive.\n\n\"ADVANCED\" refers to AI models like GPT-4o, Claude Sonnet 3.5, and best in class AI models, while \"BASIC\" refers to AI models like GPT-4o mini and similar models. \n\nWhen using BASIC AI models, your prompts and the chat's memory are limited to 40,000 characters (about 18 single-spaced pages). However, with ADVANCED AI models, your prompts and the chat memory can go up to 240,000 characters (about 110 single-spaced pages). This means that ADVANCED models can process your entire code files, leading to more accurate answers.\n\nIf you are seeking the best results for complex tasks, then choose ADVANCED AI models.\n\nBito CLI also prints the model configured and the one used for your current session on standard error for your reference. If you run \"bito\" then you should see \"Model configured\" as \"BASIC\u002FADVANCED\". This is the model that is configured in your CLI configuration (which can be access via ```bito config -e```).\n\nIf you start making queries then depending upon your Bito Billing Plan if you are on a Free plan then the model will automatically switch to BASIC and you shall see \"Model in use:\" as BASIC getting printed.\n\nIf you are on a Paid Plan and haven't exhausted your advanced queries then you shall see \"Model in use:\" as ADVACNED getting printed.\n\n##### Access Key\nAccess Key can be created at Bito Web UI and used in Bito CLI.\n\nTo create an access key, do the following:\n- Login into your account at: https:\u002F\u002Falpha.bito.ai\n- Once logged in open: https:\u002F\u002Falpha.bito.ai\u002Fhome\u002Fsettings\u002Fadvanced\n- Click on the \"Create new key\" button under section \"Bito Access Key\" to create a new key and copy it.\n- Make sure to protect your key and do not check it in, into any code to avoid accidental leakage.\n- In case you think your key is compromised, you can delete the existing key and create new key anytime.\n\nAccess Key is an alternate authentication mechanism to Email & OTP based aunthentication.\n\n\nAccess Key can be persisted in Bito CLI by running ```bito config -e```\nSuch persisted Access Key can be over-ridden by running ```bito -k \u003Caccess-key>``` or ```bito --key \u003Caccess-key>``` for the transient session.\n\n##### Output Language\nBy default Bito CLI generates output in English. You can change the output language to your preferred language from [here](https:\u002F\u002Falpha.bito.ai\u002Fhome\u002Fsettings\u002Fadvanced).\n\nAs of now it takes 30 mins for the language change to reflect in the CLI when the CLI is in the running mode. For the changes to reflect immeditately you can exit the current CLI session using ```Ctrl+C``` and again run the CLI using ```bito```.\n\n## FAQs\n\n### Enabling unicode For Windows 10 and below:\n1. Unicode characters (using other languages) might not be readily supported on command prompt if you are on Windows 10 or below. You can run command ```chcp 936``` in cmd prior to using bito to support unicode characters in Windows 10 or below (To undo the settings done here you can follow this [link](https:\u002F\u002Fshare.bito.co\u002Fstatic\u002Fshare?aid=8e535e57-d57f-4e03-a692-cf81a98fa6d2)).\n2. IF you are on Windows 11 then you shouldn't encounter any such issues.\n\n## License ##\n\nCopyright (C) 2021, Bito Inc - All Rights Reserved\n","# Bito CLI\nBito CLI（命令行界面）为 Bito AI 聊天功能提供了一个命令行接口。随着时间的推移，CLI 将会增加更多功能和新的命令选项，以支持复杂的自动化和工作流。\n\n目前这是一个非常早期的 Alpha 版本。我们非常希望收到您对新功能或改进建议的反馈。请发送邮件至 founders@bito.ai 或 support@bito.ai。\n\n#### 先决条件\n终端\n* Bash（适用于 Mac 和 Linux）\n* CMD（适用于 Windows）\n\n## 使用 Bito CLI\n- **执行聊天：** 在命令提示符中运行 `bito` 命令即可开始。您可以询问任何需要帮助的问题，例如 `awk 命令如何打印第一列和最后一列`。\n\n    **注意：** Bito CLI 支持多行输入的长提示。要完成并提交提示，请按 `Ctrl+D`。Enter\u002FReturn 键会在输入中添加新行。\n- **退出 Bito CLI：** 要退出 Bito CLI，输入 `quit` 并按下 `Ctrl+D`。\n- **终止：** 按下 `Ctrl+C` 可以终止 Bito CLI。\n\n### 开始使用\n观看下面的视频，了解如何开始使用 Bito CLI：\n\nhttps:\u002F\u002Fuser-images.githubusercontent.com\u002F61789690\u002F236821693-11705a17-e2a8-4f7c-8921-a47e75c81794.mp4\n\n## 安装 Bito CLI（推荐）\n我们建议您使用以下方法安装 Bito CLI。\n\n### MAC 和 Linux\n\n```sudo curl https:\u002F\u002Falpha.bito.ai\u002Fdownloads\u002Fcli\u002Finstall.sh -fsSL | bash``` （curl 会始终下载最新版本）\n\n#### Archlinux\n\nArch 及其基于 Arch 的发行版用户可以从 [AUR](https:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Fbito-cli) 安装。\n\n``` yay -S bito-cli``` 或 ```paru -S bito-cli```\n\n#### 使用 Homebrew：\n1. 在使用 Homebrew 之前，请确保您已使用此处提供的卸载脚本卸载所有先前安装的 Bito CLI 版本：[卸载 Bito CLI](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI#uninstalling-bito-cli)。\n2. 完成上述操作后，您可以使用以下命令通过 Homebrew 安装 Bito CLI：\n    - 首先使用 `brew tap gitbito\u002Fbitocli` 添加 CLI 仓库，这只需执行一次，无需每次都进行。\n    - 然后可以使用以下命令安装 Bito CLI：\n        - `brew install bito-cli` — 这将根据您的机器架构安装 Bito CLI。\n    - 若要将 Bito CLI 更新到最新版本，请使用以下命令：\n        - 请务必在升级前始终运行 `brew update`，以避免出现错误。\n        - `brew update` — 这将更新所有必要的软件包后再进行升级。\n        - `brew upgrade bito-cli` — 执行完上述步骤后，此命令会将 Bito CLI 更新到最新版本。\n    - 若要卸载 Bito CLI，您可以使用上述链接中的卸载命令，或者使用以下命令：\n        - `brew uninstall bito-cli` — 这将从您的系统中完全卸载 Bito CLI。\n\n**Mac 用户请注意：** 您可能会遇到与验证相关的问题，为此您需要手动按照此处的步骤操作：[Apple 支持页面](https:\u002F\u002Fsupport.apple.com\u002Fen-in\u002Fguide\u002Fmac-help\u002Fmh40616\u002Fmac)（我们正在尽快解决此问题）。\n\n### Windows\n\n1. 通过 MSI 安装程序安装 Bito CLI，安装程序链接如下：[installer](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI\u002Fblob\u002Fmain\u002Fversion-5.3\u002FBito%20CLI.exe)。\n2. 在 Windows 11 上，您可能会收到有关发布者验证的通知。请点击“显示更多”或“更多信息”，然后点击“仍要运行”（我们正在尽快解决这个问题）。\n3. 安装完成后，打开一个新的命令提示符并运行 `bito` 即可开始使用。\n\n## 卸载 Bito CLI\n\n### MAC 和 Linux\n\n```sudo curl https:\u002F\u002Falpha.bito.ai\u002Fdownloads\u002Fcli\u002Funinstall.sh -fsSL | bash``` （这将彻底卸载 Bito CLI 及其所有组件）\n\n### Windows\n\n对于 Windows 用户，您可以像卸载其他软件一样，通过控制面板卸载 Bito CLI。您仍然可以参考此处提供的链接：[卸载 Bito CLI](https:\u002F\u002Fsharestage.bito.co\u002Fstatic\u002Fshare?aid=91940c09-0813-495d-9ea8-a89f1db19fdc)。\n\n## 手动下载二进制文件安装（不推荐）\n虽然不推荐，但您也可以从我们的仓库下载 Bito CLI 的二进制文件，并手动安装。该二进制文件适用于 Linux 和 Mac OS，支持 x86 和 ARM 架构。\n\n### Mac & Linux\n\n1. 从 [这里](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI\u002Ftree\u002Fmain\u002Fversion-5.3) 下载适合您操作系统平台的 Bito CLI 二进制文件（请下载最新版本以获取所有更新）。\n2. 打开终端，进入您下载二进制文件的目录，将下载的文件（在下面的命令中使用您下载的 bito-* 文件名）重命名为 bito：\n    ``` mv bito-\u003Cos>-\u003Carch> bito ```\n3. 使用以下命令使文件可执行：\n   ```chmod +x .\u002Fbito```\n4. 使用以下命令将二进制文件复制到 \u002Fusr\u002Flocal\u002Fbin：\n    ```sudo cp .\u002Fbito \u002Fusr\u002Flocal\u002Fbin```\n5. 设置 PATH 环境变量，以便始终可以访问 Bito CLI：\n    ```PATH=$PATH:\u002Fusr\u002Flocal\u002Fbin```\n6. 使用 `bito` 命令运行 Bito CLI。如果未设置 PATH 环境变量，您需要使用完整路径或相对路径来运行 Bito 可执行文件。\n### Windows\n\n1. 使用 Bito CLI 时，务必先切换到包含 Bito CLI 的目录再运行它。\n2. 设置 PATH 环境变量，以便始终可以访问 Bito CLI：\n    * 请按照此链接中的说明操作：[设置 PATH 变量](https:\u002F\u002Fshare.bito.co\u002Fstatic\u002Fshare?aid=02f4506f-1208-4d97-bb1d-96f3b4a1a017)\n    * 编辑“Path”变量，添加 Bito CLI 在您计算机上安装位置的新路径。\n\n### Bito CLI 命令\n#### help\n- 在 MAC\u002FLinux 上：\n运行 ```bito --help``` 或 ```bito config --help```\n\n- 在 Windows 上：\n运行 ```bito --help``` 或 ```bito config --help```\n\n#### 斜杠命令\nBito CLI 引入了斜杠命令，旨在通过 CLI 提供“理解您代码的 AI”等功能。借助此功能，您可以访问由 IDE 中的 Bito 扩展创建的代码索引。斜杠命令可用于快速执行诸如查看所有本地代码索引、选择特定本地代码索引以及对该索引进行 LCA 查询等操作。\n\n- 在 Bito CLI 交互模式的 bito> 提示符中输入 \"\u002F\" 并按 ENTER 或 TAB 键，即可查看所有可用命令。\n- 在 Bito CLI 交互模式的 bito> 提示符中输入 \"\u002F[command_name]\" 并按 ENTER 或 TAB 键，即可查看该命令的所有可用选项。\n- 在 Bito CLI 交互模式的 bito> 提示符中输入 \"\u002F[command_name] [option_name]\" 并按 ENTER 或 TAB 键，即可执行相应的选项。\n- 运行 ```bito --help``` 以获取与斜杠命令相关的帮助。\n\n#### Bito CLI MyPrompt（使用 Bito CLI 自动化）\n##### 在 MAC\u002FLinux 上：\n\n- 运行 ```bito -v``` 或 ```bito --version``` 以打印当前安装的 Bito CLI 版本号。\n- 运行 ```bito –p writedocprompt.txt -f mycode.js``` 以在 Bito 中启用非交互模式（其中 writedocprompt.txt 将包含您的提示文本，例如“简要解释以下代码”，而 mycode.js 则包含需要执行操作的实际代码）。\n- 运行 ```bito –p writedocprompt.txt``` 以从标准输入读取内容并传递给 Bito（其中 writedocprompt.txt 将包含您的提示文本，例如“简要解释以下代码”，而输入内容则为需要执行操作的实际代码）。\n- 运行 ```cat file.txt | bito``` 直接将文件内容输出并通过管道传递给 Bito，从而立即获得查询结果。\n- 运行 ```cat inventory.sql | bito -p testdataprompt.txt > testdata.sql``` 将输出直接重定向到文件（其中 -p 可与 cat 结合使用，对给定内容执行提示相关操作）。\n- 运行 ```cat inventory.sql | bito -c runcontext.txt -p testdataprompt.txt > testdata.sql``` 将上下文\u002F对话历史存储在非交互模式下的文件 `runcontext.txt` 中，以便在需要先前上下文时用于后续命令。如果 `runcontext.txt` 不存在，则会自动创建。请提供新文件或使用 -c 选项由 Bito 创建的现有上下文文件。***现在通过 -c 选项，非交互模式下也支持上下文***\n\n- 运行 ```echo \"给我一段 Python 的冒泡排序代码\" | bito``` 即可使用 Bito CLI 立即获得查询响应。\n\n##### 在 Windows 上：\n- 运行 ```bito -v``` 或 ```bito --version``` 以打印当前安装的 Bito CLI 版本号。\n- 运行 ```bito –p writedocprompt.txt -f mycode.js``` 以在 Bito 中启用非交互模式（其中 writedocprompt.txt 将包含您的提示文本，例如“简要解释以下代码”，而 mycode.js 则包含需要执行操作的实际代码）。\n- 运行 ```bito –p writedocprompt.txt``` 以从标准输入读取内容并传递给 Bito（其中 writedocprompt.txt 将包含您的提示文本，例如“简要解释以下代码”，而输入内容则为需要执行操作的实际代码）。\n- 运行 ```type file.txt | bito``` 从 Windows 文件中获取输入，并将其通过管道传递给 Bito，从而立即获得查询结果。\n- 运行 ```type inventory.sql | bito -p testdataprompt.txt > testdata.sql``` 将输出直接重定向到文件（其中 -p 可与 type 结合使用，对给定内容执行提示相关操作）。\n- 运行 ```type inventory.sql | bito -c runcontext.txt -p testdataprompt.txt > testdata.sql``` 将上下文\u002F对话历史存储在非交互模式下的文件 `runcontext.txt` 中，以便在需要先前上下文时用于后续命令。如果 `runcontext.txt` 不存在，则会自动创建。请提供新文件或使用 -c 选项由 Bito 创建的现有上下文文件。***现在通过 -c 选项，非交互模式下也支持上下文***\n\n- 运行 ```echo \"给我一段 Python 的冒泡排序代码\" | bito``` 即可使用 Bito CLI 立即获得查询响应。\n\n#### 关于 Bito CLI MyPrompt 的更多说明：\n\n##### 使用注释：\n\n在您的提示文件中，任何位于 ```#``` 之后的内容都将被 Bito CLI 视为注释，不会成为提示的一部分。\n\n您可以使用 ```\\#``` 作为转义序列，使 ```#``` 成为您提示的一部分，而不用于注释。\n\n###### 以上几点的几个示例：\n\n1. 给我一个 Python 中的冒泡排序示例 # 此处写的一切都将被视为注释。\n2. 解释这段代码的作用：```\\#include\u003Cstdio.h>```  \n    i. 在上面的例子中，```\\#``` 可以用作转义序列，将 ```#``` 包含在您的提示中。\n3. #这将被视为注释，因为它本身就以 # 开头。\n\n##### 禁用注释：\n\n若希望将 # 视为普通字符而非用于标记注释开头的特殊字符（这是默认行为），可以在 Bito CLI 命令中使用 -i\u002F--ignore 标志。  \n使用 -i\u002F--ignore 标志后，Bito CLI 将不再将 ```#``` 视为特殊符号，而是将其作为提示的一部分进行处理。\n\n例如：“bito -p prompt.txt -i” 将确保即使您的提示文件中存在 ```#``` 符号，它也不会被视为注释，您的文件将按原样被处理。\n\n\n##### 使用宏：\n\n在提示文件中使用 ``{{%input%}}`` 宏来引用通过 -f 选项提供的文件内容。\n\n示例：要检查某个文件是否包含 JS 代码，您可以创建一个名为 checkifjscode.txt 的提示文件，内容如下：\n```\n上下文如下，位于 contextstart 和 contextend 之间\ncontextstart\n{{%input%}}\ncontextend\n请检查上下文中提供的内容是否为 JS 代码。\n```\n\n#### 示例：\n以下是两个示例，展示 My Prompt 的实际应用：\n\n1. 如何使用 Bito CLI My Prompt 轻松创建 Git 提交信息和 Markdown 文档：\n\n[![视频](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fgitbito_CLI_readme_c454013a94a9.png)](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=q42hqwT-jsg)\n\n2. 如何使用 Bito CLI My Prompt 生成测试数据：\n\n[![视频](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fgitbito_CLI_readme_25042911604a.png)](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=GYa0p511NUQ)\n\n### Bito CLI 配置\n#### bito config [flags]\n\n- 运行 ```bito config -l``` 或 ```bito config --list``` 以列出所有配置变量及其值。\n\n- 运行 ```bito config -e``` 或 ```bito config --edit``` 以在默认编辑器中打开配置文件。\n\n#### 示例配置\n\nbito:\u003Cbr\u002F>\n&emsp;access_key: \"\"\u003Cbr\u002F>\n&emsp;email: first.last@mycompany.com\u003Cbr\u002F>\n&emsp;preferred_ai_model: ADVANCED\u003Cbr\u002F>\nsettings:\u003Cbr\u002F>\n&emsp;auto_update: true\u003Cbr\u002F>\n&emsp;max_context_entries: 20\u003Cbr\u002F>\n\n##### 首选 AI 模型类型\n默认情况下，AI 模型类型设置为 ```ADVANCED```，可以通过运行 ```bito -m \u003CBASIC\u002FADVANCED>``` 来覆盖此设置。\n模型类型用于当前会话中的 AI 查询。模型类型可以设置为 ```BASIC``` 或 ```ADVANCED```，不区分大小写。\n\n“ADVANCED”指的是像 GPT-4o、Claude Sonnet 3.5 等顶级 AI 模型；而“BASIC”则指 GPT-4o mini 等类似模型。\n\n使用 BASIC AI 模型时，您的提示和聊天记忆将被限制在 40,000 个字符（约 18 页单倍行距文本）。然而，使用 ADVANCED AI 模型时，提示和聊天记忆可扩展至 240,000 个字符（约 110 页单倍行距文本）。这意味着 ADVANCED 模型能够处理您的整个代码文件，从而提供更准确的答案。\n\n如果您希望在复杂任务中获得最佳结果，请选择 ADVANCED AI 模型。\n\nBito CLI 还会在标准错误输出中打印已配置的模型以及当前会话正在使用的模型，供您参考。如果您运行 `bito`，您应该会看到“Model configured”显示为 “BASIC\u002FADVANCED”。这正是您 CLI 配置中所设置的模型（可通过 ```bito config -e``` 访问）。\n\n当您开始进行查询时，根据您的 Bito 账单计划：如果您处于免费计划，则模型将自动切换为 BASIC，并且您会看到“Model in use:”显示为 BASIC。\n\n如果您是付费计划用户且尚未用尽高级查询额度，则会看到“Model in use:”显示为 ADVANCED。\n\n##### 访问密钥\n访问密钥可以在 Bito Web UI 上创建，并在 Bito CLI 中使用。\n\n创建访问密钥的步骤如下：\n- 登录您的账户：https:\u002F\u002Falpha.bito.ai\n- 登录后，打开：https:\u002F\u002Falpha.bito.ai\u002Fhome\u002Fsettings\u002Fadvanced\n- 在“Bito Access Key”部分点击“Create new key”按钮以创建新密钥并复制它。\n- 请务必妥善保管您的密钥，切勿将其提交到任何代码库中，以免意外泄露。\n- 如果您怀疑密钥已被泄露，可以随时删除现有密钥并重新创建新的密钥。\n\n访问密钥是电子邮件和 OTP 验证之外的另一种身份验证机制。\n\n访问密钥可以通过运行 ```bito config -e``` 持久化到 Bito CLI 中。\n这种持久化的访问密钥可以通过运行 ```bito -k \u003Caccess-key>``` 或 ```bito --key \u003Caccess-key>``` 在临时会话中被覆盖。\n\n##### 输出语言\n默认情况下，Bito CLI 以英语生成输出。您可以从[这里](https:\u002F\u002Falpha.bito.ai\u002Fhome\u002Fsettings\u002Fadvanced)将输出语言更改为首选语言。\n\n目前，当 CLI 处于运行状态时，语言更改需要 30 分钟才能生效。若要立即生效，您可以使用 ```Ctrl+C``` 退出当前 CLI 会话，然后再次运行 ```bito```。\n\n## 常见问题解答\n\n### 在 Windows 10 及以下版本中启用 Unicode：\n1. 如果您使用的是 Windows 10 或更低版本，命令提示符可能无法直接支持 Unicode 字符（使用其他语言）。您可以在使用 bito 之前，在 cmd 中运行命令 ```chcp 936```，以在 Windows 10 及以下版本中支持 Unicode 字符。（如需撤销此处所做的设置，您可以参考此[链接](https:\u002F\u002Fshare.bito.co\u002Fstatic\u002Fshare?aid=8e535e57-d57f-4e03-a692-cf81a98fa6d2))。\n2. 如果您使用的是 Windows 11，则不应遇到此类问题。\n\n## 许可证 ##\n\n版权所有 © 2021，Bito Inc - 版权所有","# Bito CLI 快速上手指南\n\nBito CLI 是一个命令行工具，让您在终端中直接使用 Bito AI 的聊天功能，支持代码解释、生成及自动化工作流。\n\n## 环境准备\n\n在使用前，请确保您的系统满足以下基本要求：\n\n*   **操作系统**：macOS、Linux 或 Windows。\n*   **终端环境**：\n    *   macOS \u002F Linux：Bash 或其他兼容 Shell。\n    *   Windows：CMD 或 PowerShell。\n*   **网络要求**：需要能够访问 `alpha.bito.ai` 或 GitHub 资源（若下载受阻，建议配置网络代理）。\n\n## 安装步骤\n\n根据您的操作系统选择推荐的安装方式：\n\n### macOS 和 Linux\n\n**方式一：一键脚本安装（推荐）**\n此方法会自动下载并安装最新版本。\n```bash\nsudo curl https:\u002F\u002Falpha.bito.ai\u002Fdownloads\u002Fcli\u002Finstall.sh -fsSL | bash\n```\n\n**方式二：使用 Homebrew (macOS)**\n```bash\n# 1. 添加仓库源\nbrew tap gitbito\u002Fbitocli\n\n# 2. 安装 Bito CLI\nbrew install bito-cli\n\n# 后续更新命令\nbrew update && brew upgrade bito-cli\n```\n\n**方式三：Arch Linux**\n```bash\nyay -S bito-cli\n# 或者\nparu -S bito-cli\n```\n\n> **注意**：macOS 用户若在运行时遇到“无法验证开发者”的提示，需前往系统设置中手动允许该应用运行。\n\n### Windows\n\n1.  下载官方提供的 MSI 安装包：[Bito CLI Installer](https:\u002F\u002Fgithub.com\u002Fgitbito\u002FCLI\u002Fblob\u002Fmain\u002Fversion-5.3\u002FBito%20CLI.exe)\n2.  运行安装程序。\n    *   *Windows 11 用户*：若出现\"SmartScreen 筛选器”警告，点击“更多信息”，然后选择“仍要运行”。\n3.  安装完成后，打开新的命令提示符（CMD）窗口即可使用。\n\n## 基本使用\n\n安装完成后，您可以通过以下方式开始使用：\n\n### 1. 启动交互式对话\n在终端输入以下命令启动 Bito CLI：\n```bash\nbito\n```\n进入交互模式后（提示符为 `bito>`），您可以直接输入自然语言问题，例如：\n```text\nawk command to print first and last column\n```\n\n**操作提示：**\n*   **多行输入**：按 `Enter` 键换行。\n*   **提交请求**：输入完成后，按 `Ctrl+D` 发送提示词。\n*   **退出程序**：输入 `quit` 后按 `Ctrl+D`，或直接按 `Ctrl+C` 终止。\n\n### 2. 非交互式命令（管道与自动化）\n您可以将文件内容通过管道传递给 Bito，或直接指定文件进行处理，非常适合脚本自动化。\n\n**示例 A：直接查询**\n```bash\necho \"give me code for bubble sort in python\" | bito\n```\n\n**示例 B：处理文件内容 (Linux\u002FmacOS)**\n读取 `file.txt` 内容并询问：\n```bash\ncat file.txt | bito\n```\n\n**示例 C：处理文件内容 (Windows)**\n```cmd\ntype file.txt | bito\n```\n\n**示例 D：结合提示词文件与代码文件**\n假设 `writedocprompt.txt` 包含提示词（如“简要解释以下代码”），`mycode.js` 是目标代码：\n```bash\nbito -p writedocprompt.txt -f mycode.js\n```\n\n**示例 E：保存上下文历史**\n使用 `-c` 参数在非交互模式下保存对话上下文，以便后续命令延续话题：\n```bash\ncat inventory.sql | bito -c runcontext.txt -p testdataprompt.txt > testdata.sql\n```\n\n### 3. 高级功能简述\n*   **斜杠命令 (`\u002F`)**：在交互模式下输入 `\u002F` 并回车，可查看可用命令列表（如管理本地代码索引）。\n*   **宏变量**：在提示词文件中使用 `{{%input%}}` 引用通过 `-f` 传入的文件内容。\n*   **注释支持**：提示词文件中以 `#` 开头的行被视为注释。若需使用 `#` 字符，请使用 `\\#` 转义或添加 `-i` 标志忽略注释规则。\n\n更多详细配置可使用 `bito --help` 或 `bito config --help` 查看。","一位后端工程师在排查生产服务器日志时，需要快速生成复杂的 `awk` 和 `grep` 组合命令来提取特定错误模式，但手头没有图形界面且无法离开终端环境。\n\n### 没有 CLI 时\n- **上下文频繁切换**：必须最小化终端窗口，打开浏览器搜索语法或切换到本地 IDE 询问 AI 助手，打断心流。\n- **复制粘贴易出错**：将网页生成的命令复制回服务器时，常因格式问题（如引号不匹配）导致执行失败，需反复调整。\n- **多轮调试效率低**：当初始命令结果不理想时，需重新描述需求并等待网页响应，无法在当前会话中直接修正逻辑。\n- **环境依赖受限**：在无外网访问权限的受限服务器环境中，完全无法获取外部 AI 助力的支持。\n\n### 使用 CLI 后\n- **终端内闭环操作**：直接在命令行输入 `bito` 即可发起对话，无需离开当前工作界面，保持专注度。\n- **原生命令无缝衔接**：Bito CLI 返回的命令可直接在当前 Shell 运行，支持多行输入（Ctrl+D 提交），避免格式错乱。\n- **即时迭代优化**：针对输出结果不满意的情况，可立即在同一会话中追问“只统计出现次数大于 5 的行”，实现敏捷调试。\n- **随时随地可用**：只要安装了 Bito CLI，即便在无浏览器的纯命令行服务器上也能源源不断地获得 AI 代码建议。\n\nBito CLI 将 AI 编程助手深度集成至终端工作流，让开发者在不切换上下文的前提下，显著提升命令行操作的智能化与流畅度。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fgitbito_CLI_565f2017.png","gitbito","Bito","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fgitbito_fd7b7c5a.png","Codebase intelligence tools for developers",null,"support@bito.ai","https:\u002F\u002Fbito.ai","https:\u002F\u002Fgithub.com\u002Fgitbito",552,77,"2026-04-09T00:06:18","NOASSERTION","Linux, macOS, Windows","未说明",{"notes":88,"python":86,"dependencies":89},"该工具为预编译二进制文件，无需手动安装 Python 或依赖库。Mac 用户可能需手动处理网关验证问题；Windows 11 用户安装时若出现发布者验证警告，需选择“仍然运行”。支持通过 curl、Homebrew (Mac\u002FLinux)、AUR (Arch) 或 MSI 安装包 (Windows) 进行安装。",[],[13,35,15,45,14],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],"ai","cli","developer-tools","bash","chatgpt","command-line","command-line-tool","gpt","gptchat","shell","terminal","automation","developer-tool","gpt-3","gpt-4","linux","macos","prompt-engineering","windows","2026-03-27T02:49:30.150509","2026-04-19T15:46:29.288044",[],[115,120,125,130,135,140,145,150,155,160,165,170,175,180,184,189,194,198,202,207],{"id":116,"version":117,"summary_zh":118,"released_at":119},342200,"v5.3.0","Bito CLI 5.3 版本","2025-04-23T05:59:14",{"id":121,"version":122,"summary_zh":123,"released_at":124},342201,"v5.2.0","Bito CLI 5.2 版本","2025-03-18T06:48:43",{"id":126,"version":127,"summary_zh":128,"released_at":129},342202,"v5.1.0","Bito CLI 5.1 版本","2025-02-28T11:42:45",{"id":131,"version":132,"summary_zh":133,"released_at":134},342203,"v5.0.0","Bito CLI 5.0 版本","2025-01-23T15:10:17",{"id":136,"version":137,"summary_zh":138,"released_at":139},342204,"v4.9.0","Bito CLI 4.9 版本","2024-10-22T07:53:13",{"id":141,"version":142,"summary_zh":143,"released_at":144},342205,"v4.8.0","Bito CLI 4.8 版本","2024-10-14T06:54:15",{"id":146,"version":147,"summary_zh":148,"released_at":149},342206,"v4.7.0","Bito CLI 4.7 版本","2024-07-23T10:49:14",{"id":151,"version":152,"summary_zh":153,"released_at":154},342207,"v4.6.0","Bito CLI 4.6 版本","2024-07-22T14:45:44",{"id":156,"version":157,"summary_zh":158,"released_at":159},342208,"v4.5.0","Bito CLI 4.5 版本","2024-06-27T15:55:25",{"id":161,"version":162,"summary_zh":163,"released_at":164},342209,"v4.4.0","比特 CLI 版本 4.4","2024-06-05T08:24:29",{"id":166,"version":167,"summary_zh":168,"released_at":169},342210,"v4.3.0","Bito CLI Version 4.3","2024-04-17T11:09:28",{"id":171,"version":172,"summary_zh":173,"released_at":174},342211,"v4.2.0","Bito CLI Version 4.2","2024-04-04T11:47:26",{"id":176,"version":177,"summary_zh":178,"released_at":179},342212,"v4.1.0","Bito CLI Version 4.1","2024-03-21T14:04:31",{"id":181,"version":182,"summary_zh":77,"released_at":183},342213,"v4.0.0","2024-03-20T05:04:39",{"id":185,"version":186,"summary_zh":187,"released_at":188},342214,"packages","This release contains the packages or dependencies that are required by Bito CLI to support some feature functionality and run efficiently. \r\n\r\nAs of now this release contains following dependencies:\r\n1. LCA bundles for Linux\u002FMacOS (bito-lca-linux.tar.gz, bito-lca-macos.tar.gz)\r\n2. Slash commands JSON file (slashCommands.json)\r\n\r\nThis packages were added and are supported from Bito CLI Version 4.0 and onwards.","2024-01-30T13:10:52",{"id":190,"version":191,"summary_zh":192,"released_at":193},342215,"v3.9.0","Bito CLI Version 3.9","2024-01-10T07:18:35",{"id":195,"version":196,"summary_zh":77,"released_at":197},342216,"v3.8.0","2023-12-19T08:16:51",{"id":199,"version":200,"summary_zh":77,"released_at":201},342217,"v3.7.0","2023-12-04T09:20:12",{"id":203,"version":204,"summary_zh":205,"released_at":206},342218,"v3.6.0","This is the first release for installation via homebrew for Bito CLI.","2023-11-10T10:47:45",{"id":208,"version":209,"summary_zh":77,"released_at":210},342219,"v3.5.0","2023-10-06T13:08:38"]