Files
claude-code-router/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/cli/commands/other.md
musistudio e7608ada4a fix docs
2026-01-01 21:17:41 +08:00

1.0 KiB

title, sidebar_position
title sidebar_position
其他命令 4

其他命令

管理 Claude Code Router 的其他 CLI 命令。

ccr stop

停止运行中的服务器。

ccr stop

ccr restart

重启服务器。

ccr restart

ccr code

通过路由器执行 claude 命令。

ccr code [参数...]

ccr ui

在浏览器中打开 Web UI。

ccr ui

ccr activate

输出用于与外部工具集成的 shell 环境变量。

ccr activate

全局选项

这些选项可用于任何命令:

选项 说明
-h, --help 显示帮助
-v, --version 显示版本号
--config <路径> 配置文件路径
--verbose 启用详细输出

示例

停止服务器

ccr stop

使用自定义配置重启

ccr restart --config /path/to/config.json

打开 Web UI

ccr ui

相关文档