Your first workflow
1. Create the workflow file
Section titled “1. Create the workflow file”Create a file called hello.duck.yaml with the following content:
flow: - type: exec run: echo "Hello, duckflux!"That’s it — one step, one command. A workflow is just a YAML file with a flow field.
2. Install the runtime
Section titled “2. Install the runtime”Duckflux workflows are plain YAML files — they need a runtime to execute. Run the install script to auto-detect your package manager:
curl -fsSL https://duckflux.github.io/apt-repo/install.sh | bash3. Run the workflow
Section titled “3. Run the workflow”Once the runtime is installed, run your workflow:
quack run hello.duck.yamlThe runtime reads the file, executes the flow, and prints the output:
Hello, duckflux!