Returns the path to the user's home directory.
$HOME
{FOLDERID_Profile}
import { homeDir } from '@tauri-apps/api/path';const homeDirPath = await homeDir(); Copy
import { homeDir } from '@tauri-apps/api/path';const homeDirPath = await homeDir();
1.0.0
Returns the path to the user's home directory.
Platform-specific
$HOME
.$HOME
.{FOLDERID_Profile}
.