Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.execPath

Returns the path to the current deno executable.

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

Requires allow-read permission.

function execPath(): string;
§
execPath(): string
[src]

§Return Type

§
string
[src]