deno / 1.23.2 / ~ / deno.execpath.html /

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

Return Type

string

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.execPath