Skip to main content

execPath

function Deno.execPath
allow-read
Jump to headingexecPath(): 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 Jump to heading

string
Back to top