# getCachePath()

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Function: getCachePath()

> **getCachePath**(): `string`

Defined in: [cli/src/utils/version-check.ts:100](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/cli/src/utils/version-check.ts#L100)

Get the full path to the version cache file.

## Returns

`string`