executableDir
executableDir():
Promise
<string
>
Defined in: path.ts:352
Returns the path to the user’s executable directory.
- Linux: Resolves to
$XDG_BIN_HOME/../bin
or$XDG_DATA_HOME/../bin
or$HOME/.local/bin
. - macOS: Not supported.
- Windows: Not supported.
Promise
<string
>
import { executableDir } from '@tauri-apps/api/path';const executableDirPath = await executableDir();
1.0.0
© 2025 Tauri Contributors. CC-BY / MIT