Install Kùzu
Kùzu 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 Kùzu for the various client libraries available in various languages.
Command Line (Shell)
If you don’t need Kùzu 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 Kùzu database using just Cypher.
You can install the Kùzu CLI using Homebrew.
Use a tool like cURL to download the latest version of the Kùzu CLI to your local machine. Alternatively, simply copy-paste this URL for x86-64 or this one for aarch64 into your browser.
x86-64
aarch64
Double-click the kuzu_cli-linux-*.tar.gz
file to extract a file named kuzu
, and give it
executable permissions using the command chmod +x kuzu
.
Use a tool like cURL to download the latest version of the Kùzu CLI to your local machine. Alternatively, simply copy-paste this HTTPS URL into your browser.
Right-click on the kuzu_cli-xxx.zip
file and click on Extract All. This will create a directory
containing a file named kuzu.exe
. Then, right-click on the directory and click “Open in terminal”.
From within the terminal, you can then run ./kuzu.exe
.
Python
Use pip
to install the Kùzu Python client library.
Node.js
Use npm
to install the Kùzu Node.js client library.
Java
The latest stable version is available on Maven Central.
Rust
Use Cargo to install the Kùzu Rust client library. This will by default build and statically link Kùzu’s C++ library from source. You can also link against the dynamic release libraries (see the Rust crate docs for details).
Go
Kùzu’s Go API is a wrapper around the C API of Kùzu. 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.
We do not yet provide a pre-compiled Go package for Windows. If you need to use the Go API on Windows, please upvote this issue on GitHub and leave a comment to notify the Kùzu team.
C/C++
Use a tool like cURL to download the latest version of the Kùzu C/C++ binaries to your local machine (or, simply copy-paste the below HTTPS URL into your browser).
The Kùzu 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.
x86-64
aarch64
x86-64 (old ABI)
Nightly Builds
If you want access to the bleeding edge feature set in Kùzu, install from our nightly build pipeline.
- Python:
pip install --pre kuzu
- 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.