Install rete
Choose how you want to use rete, then copy the commands for your system. The command-line tool builds and queries graph files; the language packages add the engine to your application. To try a graph without installing anything, open the Playground.
Published release 0.7.5
Command line · Linux · Docker
Requires Docker running with Linux containers. Run in a POSIX shell (such as bash or zsh). This defines rete for the current shell and shares your current directory with the container; keep input and output files there.
alias rete='docker run --rm -i -v "$PWD:/data" -w /data ghcr.io/caviri/rete-cli:0.7.5'
rete --versionalias rete='docker run --rm -i -v "$PWD:/data" -w /data ghcr.io/caviri/rete-cli:0.7.5'
rete --versionRequires Docker running with Linux containers. Run in a POSIX shell (such as bash or zsh). This defines rete for the current shell and shares your current directory with the container; keep input and output files there.
Build your first graphcargo install rete-cli --version 0.7.5 --locked
rete --versionRequires Rust 1.87 or newer and Cargo on PATH. Cargo compiles the native CLI. Install a native C/C++ compiler and the usual build tools for your distribution. Ensure Cargo's bin directory is on PATH.
Build your first graphpython3 -m venv .venv
.venv/bin/python -m pip install rete-graph==0.7.5
.venv/bin/python -c "import rete_graph; print('rete_graph imported')"Requires CPython 3.9 or newer. Your Python installation needs pip and venv support. Run in your project directory; these commands create .venv without changing shell activation settings. Published Linux wheels cover x86-64 (glibc 2.17+) and ARM64 (glibc 2.28+). Other targets may need a source build and Rust.
Open a graph in Pythonuv venv
uv pip install --python .venv/bin/python rete-graph==0.7.5
.venv/bin/python -c "import rete_graph; print('rete_graph imported')"Requires CPython 3.9 or newer. Install uv first. Run in your project directory; these commands create .venv without changing shell activation settings. Published Linux wheels cover x86-64 (glibc 2.17+) and ARM64 (glibc 2.28+). Other targets may need a source build and Rust.
Open a graph in Pythonnpm install --save-exact rete-graph@0.7.5
node --input-type=module -e "import { open } from 'rete-graph'; console.log(typeof open)"Requires Node.js 18 or newer and npm. Run in your JavaScript project directory. The package includes the WebAssembly engine; it is a library, not the native rete command. The check prints function.
Use the JavaScript APIcargo add rete-graph@=0.7.5
cargo checkRequires Rust 1.87 or newer and a native build toolchain. Run inside an existing Cargo project. This adds the Rust library with an exact version; it does not install the rete command.
Use the Rust APIalias rete='docker run --rm -i -v "$PWD:/data" -w /data ghcr.io/caviri/rete-cli:0.7.5'
rete --versionRequires Docker running with Linux containers. Run in a POSIX shell (such as bash or zsh). This defines rete for the current shell and shares your current directory with the container; keep input and output files there.
Build your first graphcargo install rete-cli --version 0.7.5 --locked
rete --versionRequires Rust 1.87 or newer and Cargo on PATH. Cargo compiles the native CLI. Install the Xcode Command Line Tools for the native compiler. Ensure Cargo's bin directory is on PATH.
Build your first graphpython3 -m venv .venv
.venv/bin/python -m pip install rete-graph==0.7.5
.venv/bin/python -c "import rete_graph; print('rete_graph imported')"Requires CPython 3.9 or newer. Your Python installation needs pip and venv support. Run in your project directory; these commands create .venv without changing shell activation settings. Published macOS wheels cover Intel and Apple Silicon. Other targets may need a source build and Rust.
Open a graph in Pythonuv venv
uv pip install --python .venv/bin/python rete-graph==0.7.5
.venv/bin/python -c "import rete_graph; print('rete_graph imported')"Requires CPython 3.9 or newer. Install uv first. Run in your project directory; these commands create .venv without changing shell activation settings. Published macOS wheels cover Intel and Apple Silicon. Other targets may need a source build and Rust.
Open a graph in Pythonnpm install --save-exact rete-graph@0.7.5
node --input-type=module -e "import { open } from 'rete-graph'; console.log(typeof open)"Requires Node.js 18 or newer and npm. Run in your JavaScript project directory. The package includes the WebAssembly engine; it is a library, not the native rete command. The check prints function.
Use the JavaScript APIcargo add rete-graph@=0.7.5
cargo checkRequires Rust 1.87 or newer and a native build toolchain. Run inside an existing Cargo project. This adds the Rust library with an exact version; it does not install the rete command.
Use the Rust APIfunction rete { docker run --rm -i -v "${PWD}:/data" -w /data ghcr.io/caviri/rete-cli:0.7.5 @args }
rete --versionRequires Docker running with Linux containers. Run in PowerShell. This defines rete for the current shell and shares your current directory with the container; keep input and output files there.
Build your first graphcargo install rete-cli --version 0.7.5 --locked
rete --versionRequires Rust 1.87 or newer and Cargo on PATH. Cargo compiles the native CLI. Use PowerShell with the MSVC C/C++ build tools installed. Ensure Cargo's bin directory is on PATH.
Build your first graphpy -3 -m venv .venv
.\.venv\Scripts\python.exe -m pip install rete-graph==0.7.5
.\.venv\Scripts\python.exe -c "import rete_graph; print('rete_graph imported')"Requires CPython 3.9 or newer. Your Python installation needs pip and venv support. Run in your project directory; these commands create .venv without changing shell activation settings. Use PowerShell. Published Windows wheels are x64; this release has no native Windows ARM64 wheel. Other targets may need a source build and Rust.
Open a graph in Pythonuv venv
uv pip install --python .\.venv\Scripts\python.exe rete-graph==0.7.5
.\.venv\Scripts\python.exe -c "import rete_graph; print('rete_graph imported')"Requires CPython 3.9 or newer. Install uv first. Run in your project directory; these commands create .venv without changing shell activation settings. Use PowerShell. Published Windows wheels are x64; this release has no native Windows ARM64 wheel. Other targets may need a source build and Rust.
Open a graph in Pythonnpm install --save-exact rete-graph@0.7.5
node --input-type=module -e "import { open } from 'rete-graph'; console.log(typeof open)"Requires Node.js 18 or newer and npm. Run in your JavaScript project directory. The package includes the WebAssembly engine; it is a library, not the native rete command. The check prints function.
Use the JavaScript APIcargo add rete-graph@=0.7.5
cargo checkRequires Rust 1.87 or newer and a native build toolchain. Run inside an existing Cargo project. This adds the Rust library with an exact version; it does not install the rete command.
Use the Rust APIChoose the right package
Docker is a convenient way to try the CLI without a Rust toolchain. Cargo builds the native CLI on your machine. If you prefer a ready-made executable, the 0.7.5 release has Linux, macOS and Windows archives for x86-64 and ARM64, plus checksums. Choose the archive matching your operating system and processor.
Python, JavaScript and Rust packages are libraries. Installing one does not
install the native rete command. The selector uses a virtual environment for
Python and adds JavaScript/Rust dependencies to your project. For other
integrations, see R, Java and other clients or
Tools and integrations.
Match the reader to your files
These commands pin the published 0.7.5 packages, verified against GitHub,
PyPI,
npm and
crates.io on 2026-11-15.
They write format 0x08 and read 0x05 to 0x08. Readers up to 0.6.x
cannot open 0x08 files. Check Compatibility before
sharing files with older readers.
For the current source toolchain, follow Development. For a complete first task with the published CLI, continue to the Quickstart.