安装Dify
- 获取Dify 1.13.3源码。
1git clone --branch 1.13.3 --depth 1 https://github.com/langgenius/dify.git
- 进入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
父主题: 安装指南