Set up Dagu

Install Dagu locally, start the web UI, and move from scripts to observable workflows.

Install Dagu

Choose the installer for your environment.

Mac/Linux
二进制
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

Guided setup

The setup flow helps configure Dagu for local use.

Adds the Dagu binary to your PATH.
Helps configure Dagu as a local service.
Opens the web UI for workflow management.

Documentation

Continue with the installation guide or quickstart.

Other install options

Use Homebrew, npm, Docker, or direct binaries when they fit your environment better.

Homebrew

Mac/Linux

brew install dagu

npm

跨平台

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

Docker

容器

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