Getting a raw kURL installer CR from a URL / ID / Slug

Sometimes it can be helpful to review the existing kURL installer for an application channel as raw YAML. As you may know, a kURL installer implies the existence of three different URLs, e.g. for the installer latest, there will exist

You can use this same pattern with SHA-based installers generated from, or with an application slug from – e.g.

To view the kurl spec as a yaml document, you can run this:

curl -sSL | sed -e/INSTALLER_YAML/\{ -e:1 -en\;b1 -e\} -ed | sed -n '/ADDONS_HAVE_HOST_COMPONENTS/q;p'

to extract the installer yaml from the install script itself.