Installing the SDK

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 page.

Python

Go

C# (.NET)

Java

PHP

Run the command from the command line:

  1. python3 -m pip install ydb

Install - 图1

If the command fails, make sure your environment has Python 3.8 or newer installed with the pip package manager enabled.

Run the command from the command line:

  1. go get -u github.com/ydb-platform/ydb-go-sdk/v3

Install - 图2

To ensure the installation is successful, first install Go 1.13 or higher in your environment.

  1. dotnet add package Ydb.Sdk

Install - 图3

Add dependencies to the Maven project as described in the “Install the SDK” step of the readme.md file in the source code repository.

  1. composer require yandex-cloud/ydb-php-sdk

Install - 图4