Skip to content

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.


  1. Download the latest release for your OS from:
    https://github.com/gorankrgovic/dai-releases/releases/latest

  2. 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
  1. Make the binary executable:
chmod +x dai
  1. Move it to your PATH:
sudo mv dai /usr/local/bin
  1. Verify installation:
dai --version

🛠 Build from source (for contributors only)

If you want to work on DAI or contribute to its development:

  1. Clone the main repository:
git clone https://github.com/gorankrgovic/dai.git
cd dai
  1. Build the binary:
go build -o dai
  1. Move to your PATH:
sudo mv dai /usr/local/bin
  1. 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