---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.0
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/defold/install.md
  - https://yandex.com/dev/games/doc/hi/sdk/defold/install.md
  - https://yandex.com/dev/games/doc/ko/sdk/defold/install.md
  - https://yandex.com/dev/games/doc/ru/sdk/defold/install.md
  - https://yandex.com/dev/games/doc/tr/sdk/defold/install.md
  - https://yandex.com/dev/games/doc/vi/sdk/defold/install.md
  - https://yandex.com/dev/games/doc/zh/sdk/defold/install.md
  - href: https://yandex.com/dev/games/doc/zh/sdk/defold/install.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/games/doc/zh/llms.txt?revision=r21993288
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/zh/llms.txt?revision=r21993288

# 安装

<!-- source: zh/_includes/script-common.md -->
<!-- source: zh/_includes/script/index-js.md -->

<!-- endsource: zh/_includes/script/index-js.md -->

<!-- source: zh/_includes/script/requirements-js.md -->

<!-- endsource: zh/_includes/script/requirements-js.md -->

<!-- source: zh/_includes/script/image-modal-js.md -->

<!-- endsource: zh/_includes/script/image-modal-js.md -->
<!-- endsource: zh/_includes/script-common.md -->

要开始使用 Yandex Games SDK，需要将插件添加到项目依赖项中：

1. 转到 [Releases](https://github.com/yandex-games-plugins/defold/releases/){.external} 部分。

2. 复制 `Source code (.zip)` 文件的链接。

    ![GitHub 截图：打开了 yandex-games-plugins/defold 的 releases 部分，版本 1.0.0。发布名称：YandexGamesSDK v1.0.0，旁边是绿色的"Latest"标签。在 Assets 部分有一个 Source code (zip) 文件夹，其名称在截图中用红色标出。旁边是上下文菜单（通过右键单击打开），指针悬停在"Copy link URL"操作上。](../../_images/defold/install/copy-release-link.webp)

3. 打开项目并转到其设置（`game.project`）。将复制的链接添加到 **Dependencies** 列表中。

4. 点击 **Project** → **Fetch Libraries**，将插件从 GitHub 加载到项目中。

    ![Defold 截图。左上角是包含多个部分的菜单："View"、"Project"、"Debug"、"Help"。选择了"Project"部分，在下拉菜单中指针悬停在"Fetch Libraries"选项上。](../../_images/defold/install/fetch-libraries.webp)

---


<!-- source: zh/_includes/sdk/button-git.md -->
<a href="https://github.com/yandex-games-plugins/defold">
  <span class="button">存储库</span>
</a>
<!-- endsource: zh/_includes/sdk/button-git.md -->
