Linux

Where Does Nuclei Store Templates and Config?

Nuclei templates directory and config file in home on Linux.

Last updated

Nuclei keeps downloaded vulnerability templates in a nuclei-templates directory in your home folder, with the config file under the projectdiscovery config tree. Templates update independently of the binary.

Stale templates miss new CVEs, so update before engagements. Copy the config to preserve API keys and custom template paths.

Where Nuclei stores this, by platform

Linux
~/nuclei-templates

Community and custom templates organized by protocol folders inside. Config lives at ~/.config/nuclei/config.yaml with API keys and reporting defaults. Refresh with nuclei -update-templates and back up the config for keys.

Frequently asked questions

How do I update Nuclei templates?

Run nuclei -update-templates to refresh the folder above from the template repositories. Custom templates in the same tree stay untouched.

Where is the Nuclei config file?

At ~/.config/nuclei/config.yaml with keys, severity filters and output defaults. Restrict permissions since it holds API tokens.

Notice an outdated path? Let us know.