Tauri Core API - v2.6.0
    Preparing search index...

    Function homeDir

    • Returns the path to the user's home directory.

      • Linux: Resolves to $HOME.
      • macOS: Resolves to $HOME.
      • Windows: Resolves to {FOLDERID_Profile}.

      Returns Promise<string>

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

      1.0.0