Quick Start
Setup Progress
Step 1 of 5•
1
Install Dagu
Download and install the single binary
Install the latest version
curl -L https://raw.githubusercontent.com/dagu-org/dagu/main/scripts/installer.sh | bash
2
Start the Server
Launch the web UI and scheduler
Start server and scheduler on http://localhost:8080
dagu start-all
3
Create Your First DAG
Write a simple workflow in YAML
Create a simple workflow file
cat > hello.yaml << 'EOF'
name: hello-world
params:
- NAME: "dagu"
steps:
- command: echo "Hello from ${NAME}!"
- command: echo "Workflow completed! 🎉"
EOF4
Run the Workflow
Execute your first DAG
Run the workflow
dagu start hello.yaml
Check the status
dagu status hello.yaml
5
Explore the UI
View your workflow in the browser
Open the web UI in your browser
open http://localhost:8080
Alternative Installation Methods
Homebrew
macOS
brew update && brew install dagu
Docker
All platforms
docker run -d \ --name dagu \ -p 8080:8080 \ -v ~/.dagu:/var/lib/dagu \ ghcr.io/dagu-org/dagu:latest dagu start-all
Specific Version
All platforms
curl -L https://raw.githubusercontent.com/dagu-org/dagu/main/scripts/installer.sh | bash -s -- --version v1.16.10