macOS Installation
This page describes how to install Stardog CLI tools on macOS.
Page Contents
Homebrew
Homebrew installs Stardog CLI tools only. To run a Stardog server, use Docker.
-
Install Stardog CLI via Homebrew:
$ brew install stardog-union/tap/stardogHomebrew will take care of the installation for you including adding Stardog’s
/binfolder to your PATH sostardogandstardog-admincommands can be used regardless of current working directory. -
Using the CLI:
You can now use the
stardogandstardog-admincommands 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.