Replies: 5 comments
-
|
@avinav369 you can use https://github.com/projectdiscovery/pdtm to install / update tools from projectdiscovery |
Beta Was this translation helpful? Give feedback.
-
|
Most likely this is an issue with environment variable. When I'm lazy I do this:
|
Beta Was this translation helpful? Give feedback.
-
|
You have a naming conflict - there's another package called Solution - Install to a different path or rename:
go install github.com/projectdiscovery/chaos-client/cmd/chaos@latest
# Then run with full path:
~/go/bin/chaos -h
alias pd-chaos="$HOME/go/bin/chaos"
# Add to ~/.bashrc or ~/.zshrc
which chaos
# Shows: /usr/bin/chaos (system chaos)
type chaos
# Might show an alias
# Add to ~/.bashrc or ~/.zshrc
export PATH="$HOME/go/bin:$PATH"Then
# If you installed via apt/dnf
sudo apt remove chaos
# or
sudo dnf remove chaosVerify correct binary: ~/go/bin/chaos -version
# Should show: chaos version X.X.XThe ProjectDiscovery chaos client will work once the Go bin directory takes precedence in your PATH. |
Beta Was this translation helpful? Give feedback.
-
|
You have a naming conflict - there's another package called Solution - Install to a different path or rename:
go install github.com/projectdiscovery/chaos-client/cmd/chaos@latest
# Then run with full path:
~/go/bin/chaos -h
alias pd-chaos="$HOME/go/bin/chaos"
# Add to ~/.bashrc or ~/.zshrc
which chaos
# Shows: /usr/bin/chaos (system chaos)
type chaos
# Might show an alias
# Add to ~/.bashrc or ~/.zshrc
export PATH="$HOME/go/bin:$PATH"Then
# If you installed via apt/dnf
sudo apt remove chaos
# or
sudo dnf remove chaosVerify correct binary: ~/go/bin/chaos -version
# Should show: chaos version X.X.XThe ProjectDiscovery chaos client will work once the Go bin directory takes precedence in your PATH. |
Beta Was this translation helpful? Give feedback.
-
|
The issue is that another package named Fix — install the correct binary:
go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latestMake sure export PATH=$PATH:$(go env GOPATH)/bin
go install -v github.com/projectdiscovery/pdtm/cmd/pdtm@latest
pdtm -install chaos-client
# Linux amd64
curl -sL https://github.com/projectdiscovery/chaos-client/releases/latest/download/chaos-client_linux_amd64.zip -o chaos.zip
unzip chaos.zip
sudo mv chaos /usr/local/bin/chaos
which chaos
# If it shows /usr/bin/chaos or similar system path, the wrong one is first in PATH
# Fix by putting Go bin first
export PATH=$(go env GOPATH)/bin:$PATH
sudo apt remove chaos # Remove the conflicting packageThen verify: chaos -version
# Should show: chaos-client version x.x.xThe key issue is PATH priority — make sure |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Even after installing the chaos project client, when I am trying to run the software using "chaos -h" I am getting a prompt for some other software. Even installed this software but this is not at all related to project discovery so deleted the package.

Beta Was this translation helpful? Give feedback.
All reactions