Putting binaries into `/usr/local/bin` requires root. I think a better place could be `~/bin` which is (at least on my machine) in $PATH by default.