Link Search Menu Expand Document
Start for Free

Stardog Installation & Setup

This chapter contains installation guides and system requirements for running Stardog.


You can also create a free Stardog Cloud account here to claim a Cloud instance and access Explorer, Designer, and Studio straight from your browser.

Server vs. CLI Installation

Stardog is distributed in two parts:

Component Description Installation
Server The Stardog database server that hosts your knowledge graphs Docker (recommended), AWS Marketplace, or Azure Marketplace
CLI Tools Command-line tools (stardog and stardog-admin) to manage and query Stardog servers macOS, Linux, Windows, or ZIP download

Quick Start

To run a Stardog server locally:

$ docker run -p 5820:5820 -v stardog-home:/var/opt/stardog stardog/stardog

A valid Stardog license is required to start the server. See Server Installation for instructions on obtaining and configuring your license.

To install CLI tools:

The Linux package-signing key changed on 2026-11-16 (new fingerprint D43A C7B5 598C 57EA 6E98 482B 5E36 27E2 C44C 0E1C). If you added the Stardog apt or yum repository before then, update the signing key.

  • $ brew install stardog-union/tap/stardog
    
  • $ curl -fsSL http://packages.stardog.com/stardog.gpg.pub | sudo gpg --dearmor --yes -o /usr/share/keyrings/stardog.gpg
    $ echo "deb [signed-by=/usr/share/keyrings/stardog.gpg] http://packages.stardog.com/deb/ stable main" | sudo tee /etc/apt/sources.list.d/stardog.list
    $ sudo apt-get update && sudo apt-get install -y stardog-cli
    
  • $ curl http://packages.stardog.com/stardog.gpg.pub | sudo rpm --import /dev/stdin
    $ curl http://packages.stardog.com/rpms/stardog.repo | sudo tee /etc/yum.repos.d/stardog.repo
    $ sudo yum install -y stardog-cli
    
  • $ curl https://downloads.stardog.com/stardog/stardog-cli-latest.zip --output stardog-cli-latest.zip
    $ unzip stardog-cli-latest.zip
    

See CLI Installation for detailed instructions.

Chapter Contents