Skip to content

getCacheDir()

PromptScript API


getCacheDir(): string

Defined in: cli/src/utils/version-check.ts:93

Get the cache directory path. Uses ~/.promptscript/.cache/ for consistency with Git registry cache.

  • All platforms: ~/.promptscript/.cache/

Returns

string