BSD Ports

databases/sq 0.55.0_2 DragonFly

CLI tool for querying multiple databases and data formats

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
databases
Package size
14523.7 KiB, 67803.6 KiB installed

Description

sq is a command-line tool that provides jq-style access to structured data sources including SQL databases and document formats like CSV, Excel, and JSON.

Key features:

  • Query multiple database types (PostgreSQL, MySQL, SQLite, SQL Server, etc.)
  • Cross-source joins between different databases and file formats
  • Multiple output formats (JSON, CSV, Excel, HTML, XML, Markdown)
  • Database inspection and schema comparison
  • SQL execution with syntax highlighting
  • Data import/export between sources

sq simplifies working with structured data by providing a unified interface for querying and transforming data across various sources.

In the other systems

The newest version among them is 0.55.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydatabases/sq0.55.0_2 newestnone known-[email protected]-
FreeBSDdatabases/sq0.55.0_3 newestnone known-[email protected]2026-11-11
NetBSDwip/sq by name0.48.3 behind since 2026-08-23none known-[email protected]-
HardenedBSDdatabases/sq0.55.0_2 newestno data-[email protected]-
GhostBSDdatabases/sq0.55.0_2 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 0.55.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install sq

From DPorts:

cd /usr/dports/databases/sq && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.