Deno.build.os - Deno documentation
property Deno.build.os

The operating system that the Deno CLI was built for. "darwin" is also known as OSX or MacOS.

Type

"darwin"
| "linux"
| "android"
| "windows"
| "freebsd"
| "netbsd"
| "aix"
| "solaris"
| "illumos"