Installation
This guide explains how to install DAI using the official prebuilt binaries from the dai-releases
repository.
Building from source is only recommended for contributors or developers.
📦 Install from prebuilt binary (recommended)
-
Download the latest release for your OS from:
https://github.com/gorankrgovic/dai-releases/releases/latest -
Unpack the archive (if downloaded as
.zip
or.tar.gz
):
tar -xvzf dai_<version>_linux_amd64.tar.gz
# or
unzip dai_<version>_macos_arm64.zip
- Make the binary executable:
chmod +x dai
- Move it to your PATH:
sudo mv dai /usr/local/bin
- Verify installation:
dai --version
🛠Build from source (for contributors only)
If you want to work on DAI or contribute to its development:
- Clone the main repository:
git clone https://github.com/gorankrgovic/dai.git
cd dai
- Build the binary:
go build -o dai
- Move to your PATH:
sudo mv dai /usr/local/bin
- Verify installation:
dai --version
First-time setup
After installing, run:
dai config
This will start the configuration wizard to set your OpenAI API key and select the preferred AI model.
Configuration is stored locally at:
~/.dai/config.yaml
Next: Configuration