pkg.soopen package index

brew / 排名 2466

使用 Homebrew, Nix 安装 harlequin

查看 harlequin 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install harlequin

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#harlequin

nixpkgs package indexes · pkgs/by-name/ha/harlequin/package.nix · 来源: api.github.com

概览

软件包摘要

Easy, fast, and beautiful database client for the terminal

命令和别名

  • harlequin

历史

项目历史与用法

Harlequin is a terminal SQL IDE created by Ted Conbeer to bring editor-style database work into a TUI. It began in 2023 as a Python/Textual application centered on DuckDB, then grew into a plugin-oriented database client with adapters for SQLite, PostgreSQL, MySQL/MariaDB, ODBC, BigQuery, Trino, Databricks, ADBC, and other back ends.

项目历史

The public repository started in May 2023 with early commits for a working CLI, schema sidebar, query editor, and data viewer. The 0.0.x changelog shows a fast iteration cycle: query execution became asynchronous, SQL files could be opened and saved from the editor, DuckDB extension support landed, multiple editor buffers and multiple result tabs appeared, and database-file workflows gained read-only and export features.

Version 1.0.0, tagged in September 2023, marked the point where the core terminal database-client experience had settled enough for a named milestone. Subsequent development broadened Harlequin from a DuckDB-first SQL TUI into a general database client: the official docs describe adapter plug-ins as the generic interface to databases and list core and community adapters beyond the built-in DuckDB and SQLite support.

采用历史

Harlequin's adoption path follows the DuckDB and terminal-UI communities: it is installable with Python tooling, documented as having a Homebrew formula, and packaged in Homebrew and Nix in the supplied package-manager facts. Its README also notes that the Homebrew formula bundles several adapter packages, which made the formula attractive for users who wanted a single terminal SQL client with more than DuckDB support.

The project attracted package-manager attention because it sits at the intersection of several popular command-line trends: local analytical databases, terminal user interfaces, Python application packaging, and pluggable database adapters.

使用方式

Harlequin is run as a command-line application, commonly with no arguments for an in-memory DuckDB session or with database paths/connection strings for concrete databases. Users can pass adapter options from the shell, keep profiles in TOML config files, edit and execute SQL in a terminal editor, browse catalogs, and export result data.

The adapter model is central to everyday use. The official adapter docs describe DuckDB as the default, SQLite as built in, and additional adapters as Python packages discovered at runtime, so package installs often matter as much as the core executable.

为什么软件包爱好者会关心

Harlequin is interesting to package nerds because it packages a rich, stateful terminal application rather than a small single-purpose CLI. Formula maintainers have to care about Python runtime behavior, optional adapters, database client dependencies, and config discovery.

It also illustrates a newer class of Homebrew formula: a Python TUI that competes with native database CLIs by bundling editor, catalog, and result-viewer behavior into one command while still remaining scriptable enough to live in terminal workflows.

时间线

  • 2023-05: Public repository history begins with a working CLI, schema sidebar, query editor, and data viewer.
  • 2023-06: Early 0.0.x releases add multi-database catalog behavior, read-only database opening, MotherDuck support, and terminal key-binding improvements.
  • 2023-09: Version 1.0.0 is tagged after rapid 0.0.x iteration.
  • 2025-01: Version 2.0.0 is tagged, continuing the project after the initial SQL TUI became a broader adapter-based database client.
  • 2026-03: Version 2.5.2 is tagged in the upstream repository.

Related projects

  • DuckDB is the default database target and part of Harlequin's early identity.
  • Textual is the Python terminal UI framework behind Harlequin's interactive interface.
  • Adapter packages such as harlequin-postgres, harlequin-mysql, and harlequin-odbc extend the core client to additional database systems.

来源

  • Official Harlequin documentation for installation, configuration, database adapters, and DuckDB usage.
  • Official Harlequin repository and release/changelog history.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:database,client

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$PWD/harlequin.toml$PWD/.harlequin.toml$PWD/pyproject.toml$XDG_CONFIG_HOME/harlequin/harlequin.toml~/.config/harlequin/harlequin.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
harlequin可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.5.2
管理器更新时间2026-07-11
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:harlequin
版本2.5.2
软件包管理器Homebrew
主页https://harlequin.sh
仓库https://github.com/tconbeer/harlequin
最后更新2026-07-11T10:53:51Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

harlequin

nix profile install nixpkgs#harlequin
  • normalized package name match
  • 匹配方式:Harlequin
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/harlequin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation