# Install Cayley

## Install Cayley on Ubuntu

```
snap install --edge --devmode cayley
```

## Install Cayley on macOS

### Install Homebrew

macOS does not include the Homebrew brew package by default. Install brew using the [official instructions](https://brew.sh/#install)

### Install Cayley

```bash
brew install cayley
```

## Install Cayley with Docker

```bash
docker run -p 64210:64210 cayleygraph/cayley
```

For more information see [Container Documentation](https://cayley.gitbook.io/cayley/deployment/container)

## Build from Source

See instructions in [Contributing](https://cayley.gitbook.io/cayley/getting-involved/contributing)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cayley.gitbook.io/cayley/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
