# Anthropic TypeScript SDK

Official TypeScript client for the Claude API\.

Canonical: https://claudelist.com/listings/anthropic-typescript-sdk

Category: SDKs & APIs

Source: official · Anthropic

Source checked: 2026-10-14

Website: https://github.com/anthropics/anthropic-sdk-typescript

The repository provides installation, examples and type definitions for Node.js and TypeScript.

## Install or set up

1. In a Node.js or TypeScript project, install the official package. Set `ANTHROPIC_API_KEY` in your environment and follow the repository’s first request example.

```sh
npm install @anthropic-ai/sdk
```

Installation guide: https://github.com/anthropics/anthropic-sdk-typescript
