Answer: Install the Claude Code TypeScript Agent SDK with the npm command `npm install @anthropic-ai/claude-agent-sdk`. The SDK bundles a native Claude Code binary for your platform as an optional dependency, so most installs need no separate Claude Code install. Status: Confirmed Entry: tool/claude-code/install-and-setup/install-typescript-agent-sdk Revision: 2 Digest: sha256:462799ae07e8ea60 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:08Z Last changed: 2026-11-16T12:06:24Z (bundled Claude Code version example: v2.1.191 → Claude Code v2.1.191) Last verified: 2026-11-20T12:17:41Z Next check: 2026-11-21T12:17:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of install command | npm install @anthropic-ai/claude-agent-sdk | [1] | 2026-11-20 bundled binary note | The SDK bundles a native Claude Code binary for your platform as an optional dependency | [1] | 2026-11-20 example optional dependency | @anthropic-ai/claude-agent-sdk-darwin-arm64 | [1] | 2026-11-20 SDK version example | SDK v0.3.191 | [1] | 2026-11-20 bundled Claude Code version example | Claude Code v2.1.191 | [1] | 2026-11-20 Sources: [1] Anthropic. "Agent SDK reference - TypeScript". https://code.claude.com/docs/en/agent-sdk/typescript.md Role: primary. Accessed: 2026-11-20T12:17:41Z Quote: "npm install @anthropic-ai/claude-agent-sdk" (Supports: install command) Quote: "The SDK bundles a native Claude Code binary for your platform as an optional dependency" (Supports: bundled binary note) Quote: "such as `@anthropic-ai/claude-agent-sdk-darwin-arm64`" (Supports: example optional dependency) Quote: "SDK v0.3.191 bundles Claude Code v2.1.191" (Supports: SDK version example, bundled Claude Code version example) Published: 2026-11-20T10:22:56Z Snapshot SHA-256: b5444415a9ff038182cbc8281d0de0ebf914d9eb979d9464cf04e20a54d708b4 (captured 2026-11-20T12:17:44Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:17:41Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:41Z Last attempt: 2026-11-20T12:17:41Z Notes and limitations: Extracted automatically from a single official source (section "Installation"). Related: https://latestn.com/tool/claude-code/install-and-setup/install-vs-code-extension How do I install the Claude Code extension in VS Code? https://latestn.com/tool/claude-code/install-and-setup/linux-desktop-requirements What are the system requirements to install the Claude desktop app on Linux? https://latestn.com/tool/claude-code/install-and-setup/load-plugin-from-directory-or-zip How do I load a Claude Code plugin from a local directory or .zip file for a single session? https://latestn.com/tool/claude-code/install-and-setup/install-security-guidance-plugin How do I install the security-guidance plugin in Claude Code? https://latestn.com/tool/claude-code/install-and-setup/install-security-plugin How do I install the Claude Security plugin in Claude Code? https://latestn.com/tool/claude-code/install-and-setup/install-terminal-cli How do I install Claude Code in my terminal? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:06:24Z | changed | bundled Claude Code version example: v2.1.191 → Claude Code v2.1.191 | [1] 2026-11-16T12:06:24Z | changed | SDK version example: v0.3.191 → SDK v0.3.191 | [1] 2026-11-13T03:03:08Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/install-and-setup/install-typescript-agent-sdk/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-typescript-agent-sdk POST: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-typescript-agent-sdk with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-typescript-agent-sdk?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install the Claude Code TypeScript Agent SDK? Revision 2, last verified 2026-11-20T12:17:41Z. https://latestn.com/tool/claude-code/install-and-setup/install-typescript-agent-sdk (accessed 2026-11-21T09:59:40Z). @misc{LatestN_tool_claude_code_install_and_setup_install_typescript_agent_sdk_r2, title = {How do I install the Claude Code TypeScript Agent SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/install-and-setup/install-typescript-agent-sdk}}, note = {Revision 2; digest sha256:462799ae07e8ea60; last verified 2026-11-20T12:17:41Z; accessed 2026-11-21T09:59:40Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/install-and-setup/install-typescript-agent-sdk