How to connect Claude Code with Telegram?
Set up Claude Code on Telegram in 10 minutes. Text your AI coding assistant from your phone, debug code, get snippets, and fix bugs from anywhere.
Claude’s team keeps updating Claude Code, and now you can connect your Claude to Telegram.
With the recent features, Claude Code becomes similar to OpenClaw, and this new Telegram update is proof.
Now, you can talk to your Claude Code from your phone.
Via Telegram or Discord.
In this one, let’s discover Telegram.
Tips: Claude has a new feature. For more details, read how Claude can control your computer
Step 0: How Do I Install Claude Code on My Computer?
Open your terminal.
And Install the Claude Code.
Windows
irm https://claude.ai/install.ps1 | iexMac
curl -fsSL https://claude.ai/install.sh | bash
Tips: If you don’t know how to use it, check out my masterclass.
After installing, here is the code to initiate Claude.
claudeAnd here you go.
If you want to use Claude Code without paying a dime, with an adjustment, read this guide on running Claude Code for free.
Step 1: How Do I Create a Telegram Bot for Claude Code?
Open Telegram and search for Botfather.
Create a new bot with this command: /newbot
Next, choose a name for your bot.
Copy given token.
Step 2: How Do I Connect My Telegram Bot to Claude Code?
Open Claude Code with this command:
claudeInstall telegram plugin:
/plugin install telegram@claude-plugins-officialClose your Claude and re-open.
Use this prompt
Here is my token : [paste]
Read the setup guide here: [ https://github.com/anthropics/claude-plugins-official/blob/main/external_plugins/telegram/README.md]
Then configure the Telegram plugin with my token and show me the confirmation.Step 3: How Do I Start Chatting with Claude Code on Telegram?
Next, paste this.
claude --channels plugin:telegram@claude-plugins-officialAnd start talking to your bot. Now your Claude Code Telegram setup is complete.
Tip: Your computer must stay on for Claude Code to receive Telegram messages.
Testing
After sending a message over the telegram, as you can see it answers.
And you can see the same message over the terminal like this.
Every message you send on Telegram shows up in your terminal too, so you can track the full conversation from both sides.
You can ask Claude Code to debug code, generate snippets, refactor functions, explain errors, and anything you’d normally type in the terminal.
For more Claude Code projects, see how I ran my business with 3 Claude Files.
Final Thoughts
You just put Claude Code in your pocket.
Stuck on a bug at the coffee shop?
Text your bot. Get the fix.
Need a code snippet while commuting? Voice message. Done. (That’s when you realize your AI doesn’t live in a browser tab anymore, it lives in your pocket.)
Thanks for reading.








