Skip to content


The cmd ingredient allows you to run arbitrary shell commands against sprouts.

Runs shell commands against a sprout


namestringtruethe command to run
runasstringfalseuser who will run this command (defaults to root)
pathstringfalsethe path to the binary, this is prepended to the name
cwdstringfalsethe directory to run this command
envlistfalseenvironment variables to set should be specified like key1=value1
timeoutstringfalseset a timeout for the command using Go Duration
    - name: go version
    - runas: super-cool-user
    - path: /usr/local/bin
    - cwd: /tmp
    - env:
      - GOOS=linux
      - GOARCH=arm64
    - timeout: 10s