> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Get started with the TypeScript SDK for X API in your project. The SDK is written in TypeScript and includes full type definitions.

Get started with the TypeScript SDK for X API in your project.

## Install

```bash npm theme={null} theme={null}
npm install @xdevplatform/xdk
```

```bash yarn theme={null} theme={null}
yarn add @xdevplatform/xdk
```

```bash pnpm theme={null} theme={null}
pnpm add @xdevplatform/xdk
```

## TypeScript Support

The SDK is written in TypeScript and includes full type definitions. No additional type packages are required.

## Requirements

* Node.js 16+
* TypeScript 4.5+ (if using TypeScript)

## Next Steps

* [Authentication](https://docs.x.com/xdks/typescript/authentication.md) - Set up authentication
* [Quick Start](https://docs.x.com/xdks/typescript/overview.md) - Your first API call

> [!NOTE]
>
> For detailed code examples using the Javascript/TypeScript XDK, check out our [code samples GitHub repo](https://github.com/xdevplatform/samples/tree/main/javascript).
