Link Search Menu Expand Document
Start for Free

macOS Installation

This page describes how to install Stardog CLI tools on macOS.

Page Contents
  1. Homebrew
  2. What’s Next?

Homebrew

Homebrew installs Stardog CLI tools only. To run a Stardog server, use Docker.

  1. Install Stardog CLI via Homebrew:

     $ brew install stardog-union/tap/stardog
    

    Homebrew will take care of the installation for you including adding Stardog’s /bin folder to your PATH so stardog and stardog-admin commands can be used regardless of current working directory.

  2. Using the CLI:

    You can now use the stardog and stardog-admin commands to connect to remote Stardog servers:

     # Query a remote server
     $ stardog query -s http://my-stardog-server:5820 mydb "SELECT * WHERE { ?s ?p ?o } LIMIT 10"
    
     # Check server status
     $ stardog-admin --server http://my-stardog-server:5820 server status
    

What’s Next?

Get Started with Stardog Cloud, our complete Enterprise Knowledge Graph Platform, and connect to your running Stardog server.

Check out our additional Getting Started Resources for some introductory blog posts, tutorials, video trainings and more.