Installation
The easiest way to install Hayride is through our installation script.
You can find the latest binaries and Windows installer by visiting our releases repository, or directly install with the following command on Mac or Linux:
curl https://raw.githubusercontent.com/hayride-dev/releases/refs/heads/main/install.sh -sSf | bash
Validating Installation
To validate that Hayride has been installed correctly, you can run the following command:
hayride help
If you installation was successful, you should see the Hayride help menu and a list of available commands.
Hayride Directory
By Default, the installation script will create a directory called .hayride
in your home directory.
This directory will contain all of the necessary files and directories for Hayride to run.
The directory structure will look like this:
.hayride
├── ai
│ └── hf_hub
│ └── models--bartowski--Meta-Llama-3.1-8B-Instruct-GGUF
├── bin
│ ├── LICENSE.txt
│ └── hayride
├── config.yaml
├── logs
│ └── hayride.log
└── registry
└── morphs
├── hayride
│ └── 0.0.1
│ ├── default-agent.wasm
│ ├── default-tools.wasm
│ ├── inmemory.wasm
│ └── llama31.wasm
└── hayride-core
└── 0.0.1
├── ai-server.wasm
├── cfg.wasm
├── cli.wasm
└── server.wasm
You can change the default directory by setting the HAYRIDE_DIR
environment variable to a different path. However, this is not recommend.
Hayride ships with a set of core morphs and AI models. Refer to the core documentation for more information on why these are included.