Claude Code v2.1.51 Release Notes
Claude Code v2.1.51 introduces remote control capabilities, enhanced security fixes, and performance improvements for plugin management and tool execution.
February 24, 2026 • 10 min read • By ClaudeWorld
The latest Claude Code release brings significant enhancements for power users, with a focus on remote development capabilities, security hardening, and performance optimizations.
What’s New
Remote Control for External Builds
The headline feature is the new claude remote-control subcommand, which enables local environment serving for all users. This opens up powerful possibilities for external build integration and remote development workflows.
Enhanced Plugin Management
- Improved Git Performance: Plugin marketplace git timeout increased from 30s to 120s, with configurable timeout via
CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS - Custom npm Registry Support: Full support for custom npm registries and specific version pinning when installing plugins from npm sources
- Better Model Display: The
/modelpicker now shows human-readable labels (e.g., “Sonnet 4.5”) instead of raw model IDs, with upgrade hints for newer versions
Performance Optimizations
- Faster BashTool Execution: Login shell (
-lflag) is now skipped by default when shell snapshots are available, eliminating the need forCLAUDE_BASH_NO_LOGIN=true - Reduced Context Usage: Tool results larger than 50K characters (down from 100K) are persisted to disk, improving conversation longevity
Security Enhancements
- Workspace Trust Enforcement: Fixed security issue where
statusLineandfileSuggestionhooks could execute without proper workspace trust - HTTP Hook Security: Environment variable interpolation in HTTP headers now requires explicit
allowedEnvVarsconfiguration - Sandboxed HTTP Hooks: HTTP hooks are routed through the sandbox network proxy when sandboxing is enabled
Developer Experience Improvements
- Enhanced SDK Integration: New environment variables (
CLAUDE_CODE_ACCOUNT_UUID,CLAUDE_CODE_USER_EMAIL,CLAUDE_CODE_ORGANIZATION_UUID) eliminate race conditions in telemetry - Robust Error Handling: Fixed duplicate
control_responsemessage handling and slash command autocomplete crashes
How to Update
To update to Claude Code v2.1.51:
claude-code --version
# Follow your standard update procedure
Review your hook configurations if you use HTTP hooks with environment variable interpolation, as you’ll need to add allowedEnvVars lists.