First you need to install go:
https://go.dev/doc/install
You need to download this go tool go1.23.4.linux-amd64.tar.gz by clicking the Download button.
Say you are root and download the tool in your Downloads directory. Now run the below command:
tar -C /usr/local -xzf go1.23.4.linux-amd64.tar.gz (if this cmd fails then you need to move this tool to /usr/local folder then run this cmd tar -xzf go1.23.4.linux-amd64.tar.gz)
Now add /usr/local/go/bin to the PATH environment variable.
You can do this by adding the following line to your $HOME/.profile or /etc/profile (for a system-wide installation):
export PATH=$PATH:/usr/local/go/bin
Now use the following command for immediate effect. Preventing you from log off then log back in:
source $HOME/.profile
go version (to check it is installed successfully)
Install nuclei:
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
Comments
Post a Comment