Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Dalfox" is not a command #521

Open
spacezero20 opened this issue Jan 28, 2024 · 1 comment
Open

"Dalfox" is not a command #521

spacezero20 opened this issue Jan 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@spacezero20
Copy link

spacezero20 commented Jan 28, 2024

Dalfox: command not found

I followed the setup instructions when installing from source using go-get, and can't run dalfox. I get the following error (even if ran as root)

dalfox: command not found

Why can't I run this?

Environment

  • Dalfox Version: latest? not sure.
  • Installed from: (e.g go-get/snapcraft/homebrew): go-get
@spacezero20 spacezero20 added the bug Something isn't working label Jan 28, 2024
@hahwul
Copy link
Owner

hahwul commented Jan 28, 2024

Hi @spacezero20
Is the ~/go/bin directory registered in the PATH? If it is, please let me know the result after running the go install github.com/hahwul/dalfox/v2@latest command. (Previously, installation was done via go get, but now it is carried out using 'go install').

  • if you use zsh ~/.zshrc
  • if you use bash ~/.bashrc

e.g

# cat ~/.zshrc | grep bin
export PATH=$PATH:/Users/hahwul/go/bin
``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants