macOS
brew install pgclilocal Homebrew formula metadata
sudo port install pgcliMacPorts ports tree · databases/pgcli/Portfile · 来源: api.github.com
安装
brew install pgclilocal Homebrew formula metadata
sudo port install pgcliMacPorts ports tree · databases/pgcli/Portfile · 来源: api.github.com
sudo apk add pgcliAlpine Linux edge package indexes · pgcli · 来源: dl-cdn.alpinelinux.org
sudo dnf install pgcliFedora Rawhide package metadata · pgcli · 来源: dl.fedoraproject.org
nix profile install nixpkgs#pgclinixpkgs package indexes · pgcli · 来源: raw.githubusercontent.com
sudo pacman -S pgcliArch Linux sync databases · pgcli · 来源: geo.mirror.pkgbuild.com
概览
CLI for Postgres with auto-completion and syntax highlighting
历史
pgcli is an interactive PostgreSQL command-line client focused on auto-completion, syntax highlighting, readable tabular output, and an improved REPL experience.
pgcli is maintained under the dbcli organization, a family of enhanced database command-line clients. Its development has continued through a long-running public release and changelog history.
pgcli is available through multiple Unix-oriented packaging systems, including Homebrew, Debian, Ubuntu, Fedora-family repositories, Arch Linux, Alpine Linux, MacPorts, and Nix, making it a broadly packaged alternative PostgreSQL shell.
Users invoke pgcli with PostgreSQL connection parameters or a connection URI, then work interactively with SQL, slash commands, completion, query history, named queries, and configurable key bindings.
pgcli applies modern interactive-shell features—context-aware completion, syntax highlighting, multiline editing, persistent history, and configurable output—to the traditional PostgreSQL command-line workflow.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/pgcli/configCredential-bearing paths to review before unattended agent runs.
~/.pgpass%APPDATA%\postgresql\pgpass.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pgcli | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:pgcli |
|---|---|
| 版本 | 4.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pgcli |
| 主页 | https://pgcli.com/ |
| 上游文档 | https://pgcli.com/ |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://files.pythonhosted.org/packages/97/5d/d6fcf98556e6089915e12af12c6189e9d774d82b473c4ce9e124a62ec235/pgcli-4.6.0.tar.gz |
| 最后更新 | 2026-09-12T23:11:17Z |
| Pulse | updated |
| 依赖 | libpq, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pgcli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
pgcli 4.3.0-2
CLI for PostgreSQL with auto-completion and syntax highlighting
sudo apt install pgclipgcli
nix profile install nixpkgs#pgclipgcli 4.0.1-1
CLI for PostgreSQL with auto-completion and syntax highlighting
sudo apt install pgclipgcli 4.6.0-r0
Postgres CLI with autocompletion and syntax highlighting
sudo apk add pgclipgcli-pyc 4.6.0-r0
Precompiled Python bytecode for pgcli
sudo apk add pgcli-pycpgcli 4.6.0-1.fc46
CLI for Postgres Database. With auto-completion and syntax highlighting
sudo dnf install pgclipython3-pgcli+keyring 4.6.0-1.fc46
Metapackage for python3-pgcli: keyring extras
sudo dnf install python3-pgcli+keyringpython3-pgcli+sshtunnel 4.6.0-1.fc46
Metapackage for python3-pgcli: sshtunnel extras
sudo dnf install python3-pgcli+sshtunnelpgcli 4.6.0-1
A command line interface for PostgreSQL with auto-completion and syntax highlighting
sudo pacman -S pgclipgcli
sudo port install pgcli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.