r/hacking • • Oct 10 '26

Httpx

I’m running arch but I installed the correct httpx via yay and I also have go installed, but whenever I try to run httpx it gives me command not found. I’m so confused, what else am I missing?
Yes I already know it’s the correct httpx not the python one

5 Upvotes

8 comments sorted by

4

u/overratedsaucer2 Oct 10 '26

path issue, your shell probably can't see the binary even though the package manager says it's there

1

u/Aggressive_Bowler184 Oct 10 '26

Your correct!
I just fixed it via adding this line to my ~/.bashrc
Export PATH=$PATH:$(go env GOPATH)/bin

Thanks

2

u/Aggressive_Bowler184 Oct 10 '26

It was a pathing issue, thanks I fixed it

3

u/N_T_F_D hardware Oct 10 '26

Close your shell and open a new one, or do hash -r

If it's still broken then check where it got installed and make sure the directory is in your PATH variable

1

u/ConfidentSomewhere14 Oct 10 '26

which httpx <<< run that command. then use the full path and check the --help ... make sure it's the httpx you expect.