# Libraries

This page provides information about how to download or install the libraries for accessing the Gemini API. If you're new to the Gemini API, try out the [API quickstart](https://ai.google.dev/gemini-api/docs/quickstart).

**Note:** Based on developer feedback, we created the new Google Gen AI SDK, if you are using one of the previous SDKs, check out our [migration guide](https://ai.google.dev/gemini-api/docs/migrate).

## Python

We provide a [Python SDK](https://pypi.org/project/google-genai) which you can install by running:

```
pip install google-genai
```

## JavaScript and TypeScript (Preview)

We provide a [JavaScript and TypeScript SDK](https://www.npmjs.com/package/@google/genai) which you can install by running:

```
npm install @google/genai
```

## Go (Preview)

We provide a [Go SDK](https://pkg.go.dev/google.golang.org/genai) which you can install by running:

```
go get google.golang.org/genai
```

## Previous SDKs

The following is a set of our previous SDK's which are no longer being actively developed, you can switch to the updated Google Gen AI SDK by using our [migration guide](https://ai.google.dev/gemini-api/docs/migrate):

- [Previous Python SDK](https://github.com/google-gemini/deprecated-generative-ai-python)
- [Previous Node.js SDK](https://github.com/google-gemini/generative-ai-js)
- [Previous Go SDK](https://github.com/google/generative-ai-go)
- [Previous Dart and Flutter SDK](https://pub.dev/packages/google_generative_ai/install)
- [Previous Swift SDK](https://github.com/google/generative-ai-swift)
- [Previous Android SDK](https://github.com/google-gemini/generative-ai-android)
