User Guide / Getting Started

What lives in the config directory: a .config\clash file inventory

Getting Started · Updated 2025-09-05 · ~2 min read

Press Win + R and enter %USERPROFILE%\.config\clash. Everything Clash for Windows stores lives here. Deleting the whole folder is a factory reset, so it pays to know what each file is for before you touch anything.

What you will find

SponsoredWhere does the subscription link come from?Our partner provider gives you 1 GB of high-speed Hong Kong data at signup — import it in one click.Get high-speed nodes

Safe to delete, not safe to delete

cache.db, logs\ and Country.mmdb can all go — they rebuild on the next start. In fact, deleting cache.db is the fastest fix when a node you selected refuses to take effect or Fake-IP assignments get tangled. Delete profiles\ and you have to re-download your subscriptions. cfw-settings.yaml is the one file whose removal resets every switch to defaults, port numbers included — note down what you changed before deleting it.

Moving to a new machine

Copy the whole folder to the same path on the new PC, install the same client version, and everything is back: subscriptions, rules, node selections. One caveat — this path sits inside your user profile, so running the client as a different (or elevated) account points it at a different folder, which feels exactly like "all my settings vanished".