header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP

Claude Code has switched to native binary, no longer relying on Node.js at runtime.

According to Perceive Beating monitoring, starting from v2.1.113, the content distributed in the npm package has been switched from JavaScript build artifacts to platform-specific native binaries.

The installation command npm install -g @anthropic-ai/claude-code remains the same. Behind the scenes, npm pulls the corresponding precompiled binary as an optional dependency based on the platform and links it in place through a postinstall script; if you still need to use the JS version, you can pin the version number to before v2.1.113.

The immediate effect is faster startup. With the JS version, every CLI invocation had to go through Node.js for parsing, compilation, and execution, incurring a cold start overhead that is particularly sensitive for command-line tools used frequently. By switching to native binaries, the operating system directly loads and executes, eliminating the intermediary layer.

The second-layer change is in dependencies. Claude Code runtime no longer requires a local Node.js installation and is no longer affected by Node.js version discrepancies. The fewer dependencies the CLI tool has on external runtimes, the lower the chances of installation failures and environment conflicts.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish