Skip to content

PromptScript API


Function: getCacheDir()

getCacheDir(): string

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

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

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

Returns

string