Lots of support tickets asks me this information that is tedious to get
Open os-version in Script Kit
// Name: os version import "@johnlindquist/kit"const version_info = (await $`sw_vers`).stdoutconst version_lines = version_info.split("\n");const version_number = version_lines[1].replace(/(?:.*?)(\d+)/,"$1");copy(`macOS ${version_number}`);