Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
function 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.

Returns

string