所有 channel 插件(Telegram、Discord 等)的共用前置條件。
Channel 插件以 Bun 子行程運行。安裝 Bun:
curl -fsSL https://bun.sh/install | bash
source ~/.bashrc
bun --version安裝 Claude Code v2.1.80 或更新版本:
npm install -g @anthropic-ai/claude-code
claude --version需要 claude.ai 登入(非 API key)— 這是 Channels 功能的必要條件。
在 Claude Code session 內:
/plugin marketplace add anthropics/claude-plugins-official
這會讓所有 channel 插件(telegram、discord 等)可供安裝。
git clone https://github.com/osisdie/claude-code-channels.git
cd claude-code-channels
cp .env.example .env已驗證:
- OS: WSL2 (Linux 6.6.87.2-microsoft-standard-WSL2)
- Claude Code: v2.1.81
- Bun: v1.2.x
- 平台:Telegram、Discord
選擇要設定的 channel:
- Telegram — 規劃 | 安裝筆記
- Discord — 規劃 | 安裝筆記
- Slack — 規劃(僅 MCP,非 channel 插件)| 安裝筆記