configDir
configDir():
Promise<string>
Defined in: path.ts:242
Returns the path to the user’s config directory.
- Linux: Resolves to
$XDG_CONFIG_HOMEor$HOME/.config. - macOS: Resolves to
$HOME/Library/Application Support. - Windows: Resolves to
{FOLDERID_RoamingAppData}.
Promise<string>
import { configDir } from '@tauri-apps/api/path';const configDirPath = await configDir();1.0.0
© 2025 Tauri Contributors. CC-BY / MIT