Install tools
You can connect to TypeDB and begin developing in several ways.
TypeDB Console
TypeDB Console is a lightweight and powerful CLI tool to manage and query your TypeDB databases.
Installation
-
macOS
-
Linux
-
Windows
Install TypeDB Console using Homebrew:
brew tap typedb/tap
brew install typedb/tap/typedb
Or download and install manually:
-
Ensure Java 11+ is installed. TypeDB supports OpenJDK and Oracle JDK.
-
Download the right package for your system: TypeDB Console x86_64 / arm64
-
Extract the archive and optionally create a symlink:
sudo mkdir /opt/typedb unzip ~/Downloads/<ARCHIVE_FILENAME>.zip -d /opt/typedb ln -s /opt/typedb/<ARCHIVE_FILENAME>/typedb /usr/local/bin/typedb
Install TypeDB Console using APT:
-
Add the TypeDB repository:
sudo apt install software-properties-common apt-transport-https gpg gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key 17507562824cfdcc gpg --export 17507562824cfdcc | sudo tee /etc/apt/trusted.gpg.d/typedb.gpg > /dev/null echo "deb https://repo.typedb.com/public/public-release/deb/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/typedb.list > /dev/null sudo apt update
-
Ensure Java 11+ is installed:
sudo apt install default-jre
TypeDB supports OpenJDK and Oracle JDK.
-
Install
typedb
:sudo apt install typedb
If you had an older version (≤
2.25.5
) oftypedb
installed, you might first need to uninstall older packages to avoid conflicts:sudo apt remove typedb-server typedb-bin typedb-console
Or download and install manually:
-
Ensure Java 11+ is installed. TypeDB supports OpenJDK and Oracle JDK.
-
Download the right package for your system: TypeDB Console x86_64 / arm64
-
Extract the archive and optionally create a symlink:
mkdir /opt/typedb tar -xzf ~/Downloads/<ARCHIVE_FILENAME>.tar.gz -C /opt/typedb ln -s /opt/typedb/<ARCHIVE_FILENAME>/typedb /usr/local/bin/typedb
-
Ensure Java 11+ is installed. TypeDB supports OpenJDK and Oracle JDK.
-
Download and unzip the archive: x86_64
-
(Optional) Add the extracted archive path to your
PATH
environment variable.
Using Console
Launch TypeDB Console with the command:
typedb console
To list all available TypeDB Console command use:
typedb console --help
For a complete usage guide, visit the TypeDB Console Manual.
TypeDB Studio
TypeDB Studio is a graphical tool for managing and querying TypeDB databases.
With Studio, developers can efficiently manage databases, execute queries, and explore query results, all within a unified environment.
Desktop builds will be published soon, powered by Tauri. If you’re using TypeDB 3.0 or 3.1, you can still access the (unmaintained) legacy TypeDB Studio application in Cloudsmith. |
Using Studio
TypeDB Studio allows users to:
-
Connect to TypeDB and manage databases.
-
Run TypeQL queries on your database and display query results.
For a more detailed TypeDB Studio usage guide, visit the TypeDB Studio Manual.
TypeDB Drivers
See the dedicated Driver documentation for details on installation and usage of language drivers for TypeDB.