ccline命令行助手 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.2 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
基于Claude的开源CLI工具,在zsh提示符中输入想法即可获得AI建议并直接执行命令。适合开发者和系统管理员快速获取命令建议,提高终端工作效率。
ccline命令行助手 是一款基于 Shell 开发的开源工具,专注于 CLI工具、AI命令建议、Claude集成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
基于Claude的开源CLI工具,在zsh提示符中输入想法即可获得AI建议并直接执行命令。适合开发者和系统管理员快速获取命令建议,提高终端工作效率。
ccline命令行助手 是一款基于 Shell 开发的开源工具,专注于 CLI工具、AI命令建议、Claude集成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/jianshuo/ccline cd ccline # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 ccline --help # 基本运行 ccline [options] <input> # 详细使用说明请查阅文档 # https://github.com/jianshuo/ccline
# ccline 配置说明 # 查看配置选项 ccline --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export CCLINE_CONFIG="/path/to/config.yml"
Type a thought directly at your shell prompt — no command, no prefix — and get an answer. If the answer contains shell commands, confirm once and run them.

$ how do I find files bigger than 100MB here
find . -maxdepth 1 -type f -size +100M (rendered, colorized)
This lists files in the current directory only.
Commands found — ↑/↓ to choose, Enter to run, q to cancel:
❯ find . -maxdepth 1 -type f -size +100M
find . -type f -size +100M
➤ Run all of them
✗ Cancel
$ find . -maxdepth 1 -type f -size +100M
./big.iso
The answer is rendered as Markdown (headings, bold, inline code, bullets, and colorized code blocks) when printed to a terminal.
Homebrew (recommended for macOS):
brew install jianshuo/tap/ccline
Then add to ~/.zshrc:
source $(brew --prefix)/share/ccline/ccline.zsh
One-line install script:
curl -fsSL https://raw.githubusercontent.com/jianshuo/ccline/v0.2.3/install.sh | bash
From a clone:
git clone https://github.com/jianshuo/ccline.git
cd ccline && ./install.sh
The install script puts ccline in ~/.local/bin, ccline.zsh in ~/.config/ccline/, and adds one source line to your ~/.zshrc. Re-running it is safe. Then open a new terminal (or source ~/.zshrc).
rm -f ~/.local/bin/ccline
rm -rf ~/.config/ccline Then remove the # ccline block from ~/.zshrc.
- CCLINE_BACKEND — force the LLM CLI: claude or codex. Default is auto-detect (claude preferred, codex fallback). - CCLINE_MODEL — override the model. The claude backend defaults to claude-sonnet-4-6 (fastest end-to-end for these short prompts); set this to use another, e.g. export CCLINE_MODEL=claude-opus-4-8. Passed as --model to whichever backend is used.
创意十足的AI+CLI融合方案,降低命令查询门槛。但项目成熟度低、维护活跃度不足,生产环境需谨慎。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,ccline命令行助手 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | ccline |
| 原始描述 | 开源AI工具:Type a thought at your zsh prompt, get an answer — and run the command it sugges。⭐6 · Shell |
| Topics | CLI工具AI命令建议Claude集成Shell自动化 |
| GitHub | https://github.com/jianshuo/ccline |
| License | MIT |
| 语言 | Shell |
收录时间:2026-06-10 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。