Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview
How to install osquery. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

osquery Installation Guide

How to install osquery. Official project installation instructions and setup guide.

⚡

Automated Install (Recommended)

Quick installation instructions for osquery. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i osquery
or

Install via npx

npx @hexmos/ipm i osquery

Prerequisites

git

cli

cmake

tool

build-essential

package

Version: >=10.3.1

python3-dev

package

Version: >=3.8.10

openssl

library

Version: >=1.1.1

libev

library

Version: >=4.33

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Install via AUR

yay -S --noconfirm osquery

Install via Arch/Manjaro

sudo pacman -S --noconfirm osquery

Install via NixOS (unstable)

nix-env -iA nixpkgs.osquery

Install via Homebrew (macOS)

brew install osquery

Install via Scoop (Windows)

scoop install osquery

Install via FreeBSD

sudo pkg install -y osquery

Install via Alpine

apk add --no-cache osquery

Install via Debian/Ubuntu

sudo apt-get install -y osquery

Install via Fedora/CentOS/AlmaLinux/Rocky

sudo dnf install -y osquery

Install via openSUSE

sudo zypper --non-interactive install osquery

Install via MacPorts

sudo port install osquery

Install from Source

git clone https://github.com/osquery/osquery.git

cd osquery

sudo apt-get install -y build-essential cmake python3-dev git libssl-dev libtool libev-dev

cmake -B build -DCMAKE_BUILD_TYPE=Release

cmake --build build --config Release

cd build && sudo cpack -G RPM

sudo rpm -ivh osquery-*.rpm