---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ydb.tech/docs/en/reference/ydb-sdk/install.md?version=v25.3
  - https://ydb.tech/docs/ru/reference/ydb-sdk/install.md?version=v25.3
  - href: en/reference/ydb-sdk/install.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/core/reference/ydb-sdk/install.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt


<!-- source: en/reference/ydb-sdk/_includes/install.md -->
# Installing the YDB SDK

<!-- markdownlint-disable blanks-around-fences -->

Follow the instructions below to quickly install the OpenSource SDK. Make sure to preinstall and configure tools for working with the selected programming language and package managers on your workstation.

The build process using the source code is described in the source code repositories on GitHub. Follow the links given on the [YDB SDK - Overview](https://ydb.tech/docs/en/reference/ydb-sdk/index.md?version=v25.3) page.

{% list tabs %}

- Python

  Run the command from the command line:

  <!-- source: en/reference/ydb-sdk/_includes/install/cmd_python.md -->
  ``` bash
  python3 -m pip install ydb
  ```
  <!-- endsource: en/reference/ydb-sdk/_includes/install/cmd_python.md -->

  If the command fails, make sure your environment has [Python](https://www.python.org/downloads/) 3.8 or newer installed with the [pip](https://pypi.org/project/pip/) package manager enabled.

- Go

  Run the command from the command line:

  <!-- source: en/reference/ydb-sdk/_includes/install/cmd_go.md -->
  ``` bash
  go get -u github.com/ydb-platform/ydb-go-sdk/v3
  ```
  <!-- endsource: en/reference/ydb-sdk/_includes/install/cmd_go.md -->

  To ensure that the installation is successful, make sure that your environment is running [Go](https://go.dev/doc/install) 1.17 or higher.

- C# (.NET)

  <!-- source: en/reference/ydb-sdk/_includes/install/cmd_dotnet.md -->
  ``` bash
  dotnet add package Ydb.Sdk
  ```
  <!-- endsource: en/reference/ydb-sdk/_includes/install/cmd_dotnet.md -->

- Java

  Add dependencies to the Maven project as described in the ["Install the SDK"](https://github.com/ydb-platform/ydb-java-sdk#install-the-sdk) step of the `readme.md` file in the source code repository.

- PHP

  <!-- source: en/reference/ydb-sdk/_includes/install/cmd_php.md -->
  ``` bash
  composer require ydb-platform/ydb-php-sdk
  ```
  <!-- endsource: en/reference/ydb-sdk/_includes/install/cmd_php.md -->

- JavaScript

  <!-- source: en/reference/ydb-sdk/_includes/install/cmd_npm.md -->
  ```bash
  npm install @ydbjs/core @ydbjs/query
  ```
  <!-- endsource: en/reference/ydb-sdk/_includes/install/cmd_npm.md -->

  The minimum supported [Node.js®](https://nodejs.org/en/download) version is 20.19.

- Rust

  <!-- source: en/reference/ydb-sdk/_includes/install/cmd_rust.md -->
  Add to Cargo.toml last version of [ydb](https://crates.io/crates/ydb) crate.
  <!-- endsource: en/reference/ydb-sdk/_includes/install/cmd_rust.md -->

{% endlist %}
<!-- endsource: en/reference/ydb-sdk/_includes/install.md -->
