Claude Code v2.1.163: Enhanced Plugin Management and Better Session Handling
Claude Code v2.1.163 introduces version management controls, new plugin commands, improved hook handling, and numerous stability fixes for power users.
June 5, 2026 • 10 min read • By ClaudeWorld
The latest Claude Code release brings significant improvements to plugin management, session handling, and overall stability. This update focuses on giving administrators better control while enhancing the developer experience.
What’s New
Version Management Controls
- Managed Version Requirements: New
requiredMinimumVersionandrequiredMaximumVersionsettings allow organizations to control which Claude Code versions users can run - Automatic Redirection: Users with incompatible versions are automatically directed to approved versions
Enhanced Plugin Management
- New
/plugin listCommand: Easily view all installed plugins with optional--enabledand--disabledfilters - Improved Plugin Visibility: Better organization and discovery of your plugin ecosystem
Workflow Improvements
- Copy-Friendly
/btwCommand: New “c to copy” shortcut preserves markdown formatting when copying answers to clipboard - Enhanced Hook System: Stop and SubagentStop hooks can now return
hookSpecificOutput.additionalContextfor better Claude feedback without triggering errors - Skills Syntax Enhancement: Added
\$escape syntax for literal dollar signs before digits in command bodies
Session and Background Task Fixes
- Improved MCP Server Handling: stdio MCP servers now receive proper
CLAUDE_CODE_SESSION_IDon resume - Background Process Management: Fixed hanging issues with
claude -pwhen background commands don’t exit cleanly - Better Agent Session Updates: Background sessions now update seamlessly without cold restarts
Platform-Specific Improvements
- Windows Compatibility: Fixed “EEXIST” errors with session-env directories in OneDrive
- Bazel/EDR Workflow Support: Resolved bash command failures in protected environments
- Cloud Platform Support: Fixed authentication issues with Bedrock/Vertex/Foundry in CI environments
UI and UX Enhancements
- Cleaner Interface: Removed stray “(no content)” lines after closing dialogs
- Better Terminal Handling: Fixed misalignment and hanging issues in agent view
- Improved Descriptions: Clearer descriptions for built-in commands and skills
How to Update
To update to Claude Code v2.1.163:
- Check your current version:
claude --version - Follow your organization’s update procedures if version management is enabled
- Download the latest version from the official release page
- Restart any active Claude Code sessions to apply changes