Skip to main content
Deno.pid - Deno documentation
variable Deno.pid

The current process ID of this instance of the Deno CLI.

console.log(Deno.pid);

Type

number