If you then mean that you want to be able to just ...
# general
s
If you then mean that you want to be able to just type
osqueryi
from whatever path and launch your built osquery, that's a matter of either adding the parent folder to your PATH env var, or build a .deb package out of your compilation and install it.