Claude Code বাংলা গাইড — Terminal-Based AI Developer Tool

প্রতিষ্ঠাতা ও সম্পাদক

বাংলা AI গাইডের প্রতিষ্ঠাতা। বাংলাদেশি ব্যবহারকারীদের জন্য AI টুলস কিউরেট ও বিশ্লেষণ করেন — কোনটা BD থেকে কাজ করে, কোনটায় bKash চলে, কোনটা আসলে দৈনন্দিন কাজে লাগে।

প্রকাশিত:

ভূমিকা — Claude Code কেন আলাদা

উত্তরার এক fintech startup-এ Backend Engineer নাফিজ আহমেদ — ২৮ বছর বয়স, NSU CSE ২০১৯, ৪ বছর experience। তিনি Cursor IDE-তে কাজ করতেন — ভালোই চলছিল। কিন্তু গত নভেম্বরে একটা সমস্যা: একটা Node.js microservice-এ ৩৪টা file জুড়ে refactor দরকার ছিল — TypeScript migration, error handling unify, logging standardize। Cursor-এ IDE-based workflow-এ ৪০টা separate prompt লাগত, প্রতিবার context paste। নাফিজ Claude Code try করলেন — terminal command: claude। সরাসরি repo-তে navigate করে instruction: "এই service-এ TypeScript migrate করো, error handling unify, structured logging add।" Claude Code নিজে file scan, plan তৈরি, sequential edit — ৫ ঘণ্টায় কাজ শেষ। PR review-এ tech lead বললেন "এটা production-ready।" নাফিজ এখন Claude Code-এই দৈনিক ৭ ঘণ্টা কাজ করেন।

এই গাইডে যা থাকবে: Claude Code কী, install (Windows/Mac/WSL), Cursor/Windsurf-এর সঙ্গে পার্থক্য, BD থেকে cost ($), BD developer-এর জন্য practical workflow, ৫টি real-world use case, এবং প্রায়শই-ব্যবহৃত command/tip।

Claude Code আসলে কী

Claude Code হলো Anthropic-এর official terminal-based AI coding agent। IDE-এর মতো GUI না — পুরোটাই command line। আপনি repository-তে গিয়ে claude command চালান, instruction দিন বাংলা/English-এ — Claude নিজে file পড়ে, plan করে, edit করে, test run করে।

Release
২০২৫ ফেব্রুয়ারি (research preview)
২০২৫ মে general availability
Model
Default: Sonnet 4.6
Override: Opus 4.7
Platform
macOS, Linux, Windows (WSL)
VS Code/JetBrains plugin available
BD adoption
~৭,০০০ active developer
Growing ১৫%/মাস

Install — Windows/Mac/Linux

macOS / Linux

# npm দিয়ে
npm install -g @anthropic-ai/claude-code

# তারপর project folder-এ
cd ~/projects/my-app
claude

# প্রথমবার login (browser opens)
# Claude account → API key authorize

Windows

Native Windows support এখন আসছে কিন্তু WSL recommended:

# WSL2 install (PowerShell admin)
wsl --install

# Ubuntu open, Node.js install
sudo apt update && sudo apt install nodejs npm

# Claude Code
npm install -g @anthropic-ai/claude-code
claude

VS Code / Cursor integration

কী করতে পারে — capability rundown

  1. Codebase exploration: "এই repo-তে user authentication কীভাবে কাজ করে?" → Claude file scan করে diagram + explanation।
  2. Feature implementation: "Add 2FA to login flow using TOTP" → Claude design + code + test write।
  3. Refactoring: "এই ২০টা file-এ console.log গুলো structured logger দিয়ে replace করো" → batch edit।
  4. Bug fix: Stack trace paste → Claude root cause identify, fix suggest।
  5. Test generation: "এই module-এর জন্য Jest tests লিখো ৮৫% coverage সহ" → comprehensive test file।
  6. Documentation: "README আপডেট করো current API surface-এর সাথে" → markdown sync।
  7. Git workflow: "এই changes-এর জন্য PR description draft করো" → conventional commit format।
  8. Code review: "এই PR review করো — security/performance issues চাও" → structured review।

Cursor/Windsurf-এর সঙ্গে পার্থক্য — সততার সঙ্গে

AspectClaude CodeCursorWindsurf
InterfaceTerminalIDE (VS Code fork)IDE (VS Code fork)
Long-running taskExcellent (১-৪ hr)Good (Agent mode)Good (Cascade)
Quick inline editLimitedExcellent (Cmd+K)Excellent
ModelClaude onlyMulti (Claude/GPT/Gemini)Multi
CostAPI-based ($ per token)$২০/মাস flat$১৫/মাস flat
Best forComplex multi-file refactor, agentic workDaily IDE codingDaily IDE coding

Honest verdict: Daily quick inline edit + chat — Cursor/Windsurf better। Long-running refactor + autonomous agent — Claude Code unmatched। Many BD devs দু'টোই use করেন: Cursor for daily, Claude Code for big task।

দাম — BD context-এ honest breakdown

Claude Code নিজের কোনো subscription নেই — API token-এর সঙ্গে integrated:

Payment: bKash-linked USD card (Brac, City, EBL)। Wise card-ও কাজ করে। Direct PayPal supported না। Anthropic Console-এ prepaid $৫ থেকে শুরু।

BD developer-এর জন্য practical workflow

Nafiz-এর daily routine থেকে template:

  1. Sokal (8-10 AM): Cursor-এ standup task, quick bug fix, inline tweak — IDE-based workflow।
  2. Mid-morning (10 AM-12 PM): Complex task এলে terminal-এ claude। Plan generate, file scan, implementation plan review।
  3. Lunch break: Claude Code-কে long task assign (refactor, test write) — backgrounded।
  4. Afternoon (2-5 PM): Claude-এর output review, manual touch-up, edge case test।
  5. End of day: claude-এ "today's changes জন্য PR description লিখো" + commit message।
Nafiz-এর শক্তিশালী practice: Big task assign করার আগে সবসময় বলেন "Plan only, no code yet — show your steps।" Claude plan দেখায়, Nafiz review করেন, তারপর "execute step 1 + 2" বলেন। এতে hallucination কমে, control থাকে। প্রতি সপ্তাহে ১৪-১৬ ঘণ্টা saved।

৫টি real-world use case (BD-specific)

  1. Legacy PHP → Laravel migration: Dhaka-র এক agency-তে dev team ১৫ বছরের old PHP codebase Laravel-এ migrate করছে। Claude Code-এ একটা module assign করে ২-৩ ঘণ্টার job। Time: ৩ মাস → ৩ সপ্তাহ।
  2. WordPress plugin custom dev: Freelance dev Rifat $২,০০০ project-এর জন্য Claude Code use করে দু'দিনে complete। Profit: $২০ API cost বাদে $১,৯৮০।
  3. Bangla NLP pipeline: Sylhet-এর startup customer review sentiment analysis করছে Bangla-তে। Claude Code-এ Hugging Face model integrate + preprocessing + API endpoint — ১ সপ্তাহে production-ready।
  4. BD govt portal integration: NID verification API + RJSC business lookup — Claude Code documentation থেকে wrapper library লিখেছে।
  5. Test coverage push: ১৫% test coverage থেকে ৮৫%-এ — Claude Code একটা module-এ ৩ ঘণ্টায় ১৪০টা test case generate।

টিপস — Claude Code থেকে সর্বোচ্চ পেতে

উপসংহার — Claude Code কাদের জন্য

Claude Code BD-র developer ecosystem-এ একটা নতুন paradigm এনেছে: terminal-from autonomous agent। Cursor/Windsurf IDE-based productivity tool, কিন্তু Claude Code একটা virtual senior developer যাকে আপনি ৩ ঘণ্টার job দিয়ে coffee break-এ যেতে পারেন।

যদি আপনি — startup-এ multi-file refactor regularly করেন, agency-তে large legacy migration handle করেন, freelance complex project ৫-৭ দিনে deliver করেন, OR open-source contribution-এ scale চান — Claude Code আপনার tool। Pro $২০ subscription-এই শুরু করুন। Cursor-এর সঙ্গে combine করলে best of both worlds।

Nafiz-এর শেষ কথা: "Claude Code Cursor-কে replace করেনি, complement করেছে। Cursor-এ আমি code লিখি, Claude Code-এ আমি orchestrate করি। দু'টোই দরকার।" BD-র developer-দের জন্য এটাই reality — দু'টোই learn করুন।

প্রাসঙ্গিক টুলস ও গাইড

AI আপডেট পেতে চান?

প্রতি সপ্তাহে নতুন AI টুলস ও টিউটোরিয়াল বাংলায় পান।

ফ্রি নিউজলেটার। যেকোনো সময় আনসাবস্ক্রাইব করতে পারবেন।

সচরাচর জিজ্ঞাসা (FAQ)

Claude Code থেকে সর্বোচ্চ পেতে কী কী টিপস আছে?

CLAUDE.md ফাইল রাখুন: Repo root-এ একটা CLAUDE.md create করুন — project structure, coding standard, "do not touch" file list। Claude প্রতি session-এ এটা পড়ে। "Plan first" pattern: Complex task-এ আগে plan চান। তারপর approve করে execute বলুন। Granular permission: Trust mode default off — Claude file edit করার আগে confirm চাইবে। Safe। Use slash commands: /clear context reset, /cost session খরচ দেখুন, /model Sonnet/Opus switch। Git workflow: Claude-কে বলুন "create a branch first, make commit per logical change"। Atomic history থাকে। Long task → Opus: ২+ ঘণ্টার agentic task-এ /model opus । Cost বেশি কিন্তু success rate স্পষ্ট better। Bangla instruction works: "এই ফাংশনে error handling add করো" —…

কী করতে পারে?

Codebase exploration: "এই repo-তে user authentication কীভাবে কাজ করে?" → Claude file scan করে diagram + explanation। Feature implementation: "Add 2FA to login flow using TOTP" → Claude design + code + test write। Refactoring: "এই ২০টা file-এ console.log গুলো structured logger দিয়ে replace করো" → batch edit। Bug fix: Stack trace paste → Claude root cause identify, fix suggest। Test generation: "এই module-এর জন্য Jest tests লিখো ৮৫% coverage সহ" → comprehensive test file। Documentation: "README আপডেট করো current API surface-এর সাথে" → markdown sync। Git workflow: "এই changes-এর জন্য PR description draft করো" → conventional commit format। Code review: "এই PR review করো — security/performance…

Claude Code কোন কাজে সবচেয়ে ভালো?

Nafiz-এর daily routine থেকে template: Sokal (8-10 AM): Cursor-এ standup task, quick bug fix, inline tweak — IDE-based workflow। Mid-morning (10 AM-12 PM): Complex task এলে terminal-এ claude । Plan generate, file scan, implementation plan review। Lunch break: Claude Code-কে long task assign (refactor, test write) — backgrounded। Afternoon (2-5 PM): Claude-এর output review, manual touch-up, edge case test। End of day: claude -এ "today's changes জন্য PR description লিখো" + commit message। Nafiz-এর শক্তিশালী practice: Big task assign করার আগে সবসময় বলেন "Plan only, no code yet — show your steps।" Claude plan দেখায়, Nafiz review করেন, তারপর "execute step 1 + 2" বলেন। এতে hallucination কমে,…

Claude Code-এর দাম কত এবং BD-তে এর ROI কেমন?

Claude Code নিজের কোনো subscription নেই — API token-এর সঙ্গে integrated: Pay-per-use (API): Sonnet 4.6 — $৩/M input, $১৫/M output। সাধারণ task: $০.১০-০.৫০ per session। Pro plan integrated: Claude Pro $২০/মাস → Claude Code-এ included (Sonnet 4.6 unlimited)। Most cost-effective for BD devs। Max plan: $১০০/মাস → Opus 4.7 access via Claude Code, heavy refactor-এ ROI। Real BD usage: Nafiz মাসে ~$২৫ খরচ করেন (Pro $২০ + occasional API $৫)। Cursor Pro-ও $২০ — দু'টোই একসঙ্গে চালান। Payment: bKash-linked USD card (Brac, City, EBL)। Wise card-ও কাজ করে। Direct PayPal supported না। Anthropic Console-এ prepaid $৫ থেকে শুরু।