Claude API · Setup and first request

Install the TypeScript SDK

Install the official SDK for TypeScript and JavaScript.

npm install @anthropic-ai/sdk

Official Claude API documentation

More setup and first request commands

All setup and first request commands · Claude API cheatsheet

Was this page helpful?