Skip to content

ok doctor

Checks that your machine has the tools the Golden Path needs.

Synopsis

Checks that your machine has the tools the Golden Path needs, and tells you how to fix what is missing.

It checks the tools from https://km.oslo.systems/set-up-your-machine/ plus git, that Terraform satisfies >= 1.10.0, < 2.0.0 (the version the Golden Path templates require), and whether a newer ok is out. It never changes anything.

With --json, the report is printed to stdout as {"ok": bool, "checks": [{"name", "status", "found", "required", "fix"}]}, where status is pass, warn or fail.

Exits 1 if any check fails. Warnings never fail.

ok doctor [flags]

Options

  -h, --help   help for doctor
      --json   Print the report as JSON

See also

ok - Manage infrastructure and project templates.