Install Dagu

Use the guided installer for the fastest path. It can install Dagu, set up the background service, and create the first admin.

Recommended installer

Choose the command for your platform. The script installers guide non-technical users through the full setup.

Mac/Linux
Binary
curl -fsSL https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.sh | bash
Windows
PowerShell
irm https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.ps1 | iex
Windows
CMD
curl -fsSL https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.cmd -o installer.cmd && .\installer.cmd && del installer.cmd

What the installer does

The recommended script installers do more than download the binary.

Add Dagu to your PATH
Set up a background service
Create and verify the first admin

Continue in the docs

Use the canonical docs for the full installation guide and first workflow.

Other install methods

These options install Dagu without the guided wizard.

Homebrew

Mac/Linux

brew install dagu

npm

Cross-platform

npm install -g --ignore-scripts=false @dagucloud/dagu

Docker

Container

docker run -d \
  --name dagu \
  -p 8080:8080 \
  -v ~/.dagu:/var/lib/dagu \
  ghcr.io/dagucloud/dagu:latest dagu start-all