---
title: 安装Dify
description: "1. 获取Dify 1.13.3源码。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengai/ecosystemEnable/dify/kunpengdify_04_0005.html
sourcePath: /source/zh/kunpengai/ecosystemEnable/dify/kunpengdify_04_0005.html
indexId: f9ba1e544314a4ef9aec74820f5dc5d9a839365ce237c474da52fba8eefd569966
---
# 安装Dify

1. 获取Dify 1.13.3源码。
  1 git clone --branch 1.13.3 --depth 1 https://github.com/langgenius/dify.git

2. 进入Dify源代码目录中，检查API和Web版本要求。
  1 2 3 4 5 6 7 8 9 10 11 12 cd dify python3 - <<'PY' import json import tomllib api = tomllib.load(open("api/pyproject.toml", "rb")) web = json.load(open("web/package.json")) print(api["project"]["name"], api["project"]["version"], api["project"]["requires-python"]) print("api_package", api.get("tool", {}).get("uv", {}).get("package")) print(web["name"], web["version"], web["engines"]["node"], web["packageManager"]) PY
