Upgrade Claude Code Quickly Now | Generated by AI
If you’re looking to upgrade Claude Code, the command-line coding agent from Anthropic, here’s how you can do it—and get the latest capabilities like learning modes and custom subagents working smoothly.
How to Upgrade Claude Code
-
Check your current version Run:
claude --version
This lets you see which version you’re currently running.
-
Update via npm The simplest upgrade method is:
npm install -g @anthropic-ai/claude-code@latest
This pulls down the latest release from npm. Users on Reddit report that this fixed bugs and improved responsiveness. One wrote:
“After updating to the latest version (1.0.18), it’s like night and day — feels way smarter and more responsive.” (Reddit, Anthropic)
-
Alternatively, use the native installer (Beta) If you prefer a standalone binary (rather than npm), try:
curl -fsSL https://claude.ai/install.sh | bash -s latest
(On Windows, use the PowerShell version) (Anthropic)
-
Verify the update After installation, restart your terminal and run
claude --version
again to confirm the new version is active. -
Troubleshooting installation issues If you face problems, try uninstalling first:
npm uninstall -g @anthropic-ai/claude-code npm install -g @anthropic-ai/claude-code
Some users found this sequence resolved update glitches. (Anthropic, Reddit, Anthropic, The Verge)
What’s New in Recent Updates?
Learning Modes
Anthropic recently added two new learning styles within Claude Code: “Explanatory” and “Learning”. These help you understand the reasoning behind generated code rather than just giving you solutions. To enable them:
- Make sure you’ve updated Claude Code.
- Run
/output-styles
in your Claude Code session. - Choose between Default, Explanatory, or Learning style. This feature launched on August 14, 2025. (Tom’s Guide)
Custom Subagents
Claude Code now supports subagents—specialized AI assistants tailored for specific tasks (e.g., bug fixing, refactoring, documentation). You can set different system prompts, tool permissions, and context windows for each. To set one up:
- Run
/agents
- Choose “Create New Agent” (either user-level or project-level)
- Define its behavior, allowed tools, and save it Subagents help keep your workflow cleaner, more focused, and context-aware. (Anthropic)
Quick Recap (No Tables, Just Clear Steps)
-
To Upgrade:
npm install -g @anthropic-ai/claude-code@latest
or use the native install with
curl | bash -s latest
. -
Enable Learning Modes:
- Update
- Inside Claude Code: run
/output-styles
and choose your mode.
-
Create Subagents:
- Inside Claude Code: run
/agents
- Customize tool access, system prompt, and behavior.
- Inside Claude Code: run
Final Thoughts
Upgrading Claude Code is straightforward—use npm or native installer, check you’re on the latest version, then explore the new learning modes and subagent features. These additions shift Claude Code from being just a coding assistant toward something more like a teaching partner and agentic collaborator in your development workflow.
If you’d like help crafting your first subagent or using learning mode effectively, I’d be happy to walk you through it!