Skip to content

osquery

osquery project contributors · Query operating-system state with SQL: inspect processes, network connections, users and file hashes through an interactive shell or a scheduled monitoring daemon.

CaskUtilities 23.8K
Install command
brew install --cask osquery
30-day installs
247
#610 in App
1-year installs
2.7K
Last 365 days
Latest version
5.24.1
Download size
17MB
pkg
Release cadence
Irregular
1 release in 30 days

About

osquery is an open-source operating-system instrumentation, monitoring and analytics framework for macOS, Linux and Windows. It exposes system information as relational tables that can be queried with SQL, rather than presenting a standalone graphical Mac application.

Explore a Mac with SQL

Tables cover concepts such as running processes, network connections, browser plugins, hardware events and file hashes. The official README demonstrates listing users, identifying processes with deleted executables, joining processes to listening ports, and inspecting macOS LaunchDaemons. Available tables and permissions vary by operating system.

Interactive queries and scheduled monitoring

The osqueryi shell runs standalone without communicating with a daemon. It can prototype queries and inspect the current machine; some tables return fewer results without administrator privileges. The shell supports JSON and CSV output. The osqueryd daemon schedules queries to monitor operating-system state across hosts, while extensions and APIs support integration. Third-party fleet managers are separate products and are not endorsed or tested by the osquery project.

Installation and version scope

The Homebrew cask installs the official macOS PKG, not a GUI app bundle. This catalog's latest three recorded versions are 5.24.0, 5.23.1 and 5.23.0. Their notes preserve official upstream release content and distinguish macOS changes from Linux and Windows changes. Consult the official schema and installation documentation before deploying queries or a daemon.

Sources

At a glance

Chip
Apple silicon · Intel
Auto-updates
No
Repository
GitHub repository · Updated 3 days ago★23.8K
Developer
osquery project contributors
Homebrew
Available; updated by Homebrew
Homepage
osquery.io
Token
osquery

Checked

What’s new in 5.24.1

New · OpenNavo editorial

Security and bug-fix release that restores BPF tables removed in 5.24.0 and hardens certificate, TLS and package handling.

How to install osquery on Mac

Homebrew runs the osquery-5.24.1.pkg installer, which asks for an administrator password.

Install without Homebrew

Download the same file Homebrew uses: Install Details

Uninstall osquery and optional data cleanup

Uninstall command
brew uninstall --cask osquery

A regular uninstall removes the app and keeps its settings and caches.

Questions about osquery

Is osquery safe?

osquery is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 247 times through Homebrew in the last 30 days.

Does osquery have a public GitHub repository?

osquery has a public GitHub repository (https://github.com/osquery/osquery), but OpenNavo has not verified an OSI license.

How do I completely uninstall osquery on a Mac?

Run brew uninstall --cask osquery. It stops 1 background service and forgets 2 installer receipts.

Does osquery run on Apple silicon (M1 and later) Macs?

Homebrew installs it on both Apple silicon and Intel Macs, from the same download.

What is the latest version of osquery?

The latest version is 5.24.1, added to Homebrew on Nov 4, 2026. Run brew upgrade --cask osquery to update it.

What else does installing osquery add?

It installs through a .pkg installer, which asks for an administrator password.

Similar Apps

  • LaunchOSLaunchpad-style app launcher for macOS 26 and later, with a native grid, layout import, global hotkey and optional Pro organization tools.
  • LaunchControlA macOS GUI for creating, managing, and debugging launchd services.
  • GeekbenchCross-platform CPU and GPU benchmarking with single-core/multi-core scores, practical workloads and online result comparisons.
  • NeoHtopA macOS desktop system monitor for viewing processes and tracking CPU and memory use in real time.
Browse all apps