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:

  • $ brew install stardog-union/tap/stardog
    
  • $ curl http://packages.stardog.com/stardog.gpg.pub | sudo apt-key add
    $ echo "deb http://packages.stardog.com/deb/ stable main" | sudo tee -a /etc/apt/sources.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