go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
Nuclei requires latest GO version to install successfully.