System requirements
Nuclei requires Go 1.24.2 or later when installing from source. For binary installations, no additional dependencies are required.
- Go 1.24.2+ (for installation from source)
- Operating system: Linux, macOS, or Windows
- Network access to download templates
Installation methods
- Go
- Binary releases
- Package managers
- From source
Install with Go
The recommended way to install Nuclei is using Go. This ensures you always have the latest version.Install Go
If you don’t have Go installed, download it from go.dev
Install Nuclei
Run the following command to install Nuclei:This will download, compile, and install the Nuclei binary to your
$GOPATH/bin directory.Make sure
$GOPATH/bin is in your system’s PATH to run Nuclei from anywhere.Post-installation setup
Download templates
After installation, download the community templates:Templates are automatically updated when you run Nuclei, unless you disable automatic updates with the
-duc flag.Check template version
To see which version of templates you have installed:Configure API authentication (optional)
To use cloud features and AI-powered template generation, configure your ProjectDiscovery API key:Cloud features are optional. Nuclei works fully offline without authentication.
Update Nuclei
Keep Nuclei up to date to get the latest features and bug fixes:Verify your installation
Run a quick test scan to verify everything is working:Troubleshooting
Command not found
Command not found
If you get a “command not found” error, ensure that:
- The binary is in your
PATH - For Go installations,
$GOPATH/binis in yourPATH - You have execute permissions on the binary
Permission denied
Permission denied
If you encounter permission errors:Or use
sudo when moving the binary to system directories.Template download fails
Template download fails
If template downloads fail:
- Check your internet connection
- Verify you can access GitHub (templates are hosted there)
- Try using a proxy if needed:
nuclei -proxy http://proxy:port
Go version error
Go version error
If you see Go version errors during installation:
- Update Go to version 1.24.2 or later
- Download from go.dev/dl
Next steps
Now that you have Nuclei installed, continue to the quickstart guide:Quickstart guide
Learn how to run your first scan and master the basics