Install from Source

Learn how to install NodeRAG from source code. This guide provides step-by-step instructions for developers who want to build from source.

Prerequisites

Before installing NodeRAG from source, ensure you have the following requirements:

  • Python 3.10 or higher
  • Git
  • Miniconda
  • Additional dependencies listed in:
    • requirements.txt - Core dependencies
    • requirements.in - Development dependencies

Start

Environment

Clone from source

git clone https://github.com/Terry-Xu-666/NodeRAG.git cd NodeRAG

Conda

conda create -n NodeRAG python=3.10 conda activate NodeRAG

Install

pip install uv uv pip install requirements.txt
pip install requirements.txt

For the next step, see the build documentation to index your corpus.


Last modified April 5, 2025: update reproduce (f23a25c)