Deno.execPath - Deno documentation
function Deno.execPath
allow-read
execPath(): string

Returns the path to the current deno executable.

console.log(Deno.execPath());  // e.g. "/home/alice/.local/bin/deno"

Requires allow-read permission.

Return Type

string