Skip to content
Tauri

appDataDir

appDataDir(): Promise<string>

Defined in: path.ts:142

Returns the path to the suggested directory for your app’s data files. Resolves to ${dataDir}/${bundleIdentifier}, where bundleIdentifier is the identifier value configured in tauri.conf.json.

Promise<string>

import { appDataDir } from '@tauri-apps/api/path';
const appDataDirPath = await appDataDir();

1.2.0


© 2025 Tauri Contributors. CC-BY / MIT