The easiest way to install osquery on FreeBSD is via the ports tree. Check FreshPorts for the latest version information.

    1. # from ports
    2. cd /usr/ports/sysutils/osquery && make install clean
    3. # from binary package
    4. pkg install osquery
    5. # using portmaster
    6. portmaster sysutils/osquery