Skip to content
Blog

Install Kuzu

Kuzu is an embedded graph database that can be used from the command line as well as a variety of programming languages. This page shows how to install Kuzu for the various client libraries available in various languages.

Command Line (Shell)

If you don’t need Kuzu embedded in your application, you can use the CLI shell. This is a standalone executable with no dependencies that can be used to interact with a Kuzu database using just Cypher.

You can install the Kuzu CLI using Homebrew.

Terminal window
brew install kuzu

Python

You can use pip or uv (recommended)to install the Kuzu Python client library. The instructions are the same for macOS, Linux, and Windows.

Terminal window
pip install kuzu

Node.js

Use npm to install the Kuzu Node.js client library.

Terminal window
npm install kuzu

Java

The latest stable version is available on Maven Central.

<dependency>
<groupId>com.kuzudb</groupId>
<artifactId>kuzu</artifactId>
<version>0.8.2</version>
</dependency>

Rust

Use Cargo to install the Kuzu Rust client library. This will by default build and statically link Kuzu’s C++ library from source. You can also link against the dynamic release libraries (see the Rust crate docs for details).

Terminal window
cargo add kuzu

Go

Kuzu’s Go API is a wrapper around the C API of Kuzu. The installation step below assumes that you have Go installed and available on your machine, and that there’s an initialized Go project that has a go.mod in the directory. If you need to create a new Go module, follow this tutorial.

Terminal window
go get github.com/kuzudb/go-kuzu

C/C++

Use a tool like cURL to download the latest version of the Kuzu C/C++ binaries to your local machine (or, simply copy-paste the below HTTPS URL into your browser).

The Kuzu C++ client is distributed as so/dylib/dll+lib library files along with a header file (kuzu.hpp). Once you’ve downloaded and extracted the C++ files into a directory, it’s ready to use without any additional installation. You just need to specify the library search path for the linker.

Terminal window
curl -L -O https://github.com/kuzudb/kuzu/releases/download/v0.8.2/libkuzu-osx-universal.tar.gz

Nightly Builds

If you want access to the bleeding edge feature set in Kuzu, install from our nightly build pipeline.

  • Python: pip install --pre kuzu (or uv pip install --pre kuzu if you’re using uv)
  • Node.js: npm i kuzu@next
  • Java: The latest snapshot version is available on GitHub Packages
  • For the CLI, C/C++ shared libraries, and Rust, the latest nightly versions for each can be downloaded from the latest run of this GitHub Actions pipeline.