# Install LightRAG Server as a tool using uv (recommended)uv tool install "lightrag-hku[api]"# Or using pip inside a virtual environment# python -m venv .venv# source .venv/bin/activate # Windows: .venv\Scripts\activate# pip install "lightrag-hku[api]"# Get the configuration template and edit it (see "Minimum .env Changes" below)curl -O https://raw.githubusercontent.com/HKUDS/LightRAG/main/env.example
cp env.example .env
lightrag-server
graphrag vs LightRAG 常见问题 (FAQ)
graphrag 和 LightRAG 在开源协议与商用合规上有什么区别?
microsoft/graphrag 采用 MIT · 允许商用(宽松开源协议,允许商业使用、修改与私有化闭源分发(保留版权声明即可)。);HKUDS/LightRAG 采用 MIT · 允许商用(宽松开源协议,允许商业使用、修改与私有化闭源分发(保留版权声明即可)。)。
2026 年 graphrag 与 LightRAG 哪个社区增长更快?
按 RepoForAI 实时快照,graphrag 总 Star 36,814(7日 +63),LightRAG 总 Star 41,022(7日 +110),近期增速由 LightRAG 领先。