Quick Start
Create a Workflow
Section titled “Create a Workflow”Create orchstep.yml:
name: hellotasks: greet: steps: - name: say-hello func: shell do: echo "Hello from OrchStep!"Run It
Section titled “Run It”orchstep run greetShell note: OrchStep uses POSIX
sh(/bin/sh) by default, so your workflows run on Alpine, distroless containers, and any Linux/macOS system without extra dependencies. On Windows, settype: "gosh"to use the built-in Go-native shell — no bash or WSL needed. See Shell Execution for details.
Add Variables
Section titled “Add Variables”name: deploydefaults: env: staging version: "1.0.0"
tasks: deploy: steps: - name: build func: shell do: echo "Building v{{ vars.version }} for {{ vars.env }}" - name: verify func: assert args: condition: '{{ ne vars.version "" }}' desc: "Version must not be empty"orchstep run deployorchstep run deploy --var env=production --var version=2.0.0Next Steps
Section titled “Next Steps”- Browse examples for real-world patterns
- Read the function reference to see what’s available
- Learn about modules for reusable components