Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, apt, MacPorts, Nix, zypper, pacman, scoop, winget 安装 universal-ctags

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install universal-ctags

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install universal-ctags

MacPorts ports tree · devel/universal-ctags/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install universal-ctags

Debian stable package indexes · universal-ctags · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#universal-ctags

nixpkgs package indexes · pkgs/by-name/un/universal-ctags/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install universal-ctags

openSUSE Tumbleweed package metadata · universal-ctags · 来源: download.opensuse.org

Arch Linux pacman已验证 · 92%
sudo pacman -S ctags

Arch Linux sync databases · ctags · 来源: geo.mirror.pkgbuild.com

Windows

Chocolatey已验证 · 92%
choco install universal-ctags

Chocolatey community package catalog · universal-ctags · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install extras/universal-ctags

Scoop official bucket manifest trees · bucket/universal-ctags.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id UniversalCtags.Ctags -e

Windows Package Manager source index · UniversalCtags.Ctags · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Maintained ctags implementation

命令和别名

  • optscript
  • readtags

历史

项目历史与用法

Universal Ctags is the maintained continuation of the ctags tradition: a command-line indexer that emits tag files for editors and source-navigation tools. Its package history is inseparable from Exuberant Ctags, whose development stalled after becoming the de facto multi-language ctags implementation.

项目历史

The Universal Ctags README states that Exuberant Ctags, maintained by Darren Hiebert, improved traditional ctags with multi-language support, user-defined regex languages, and Emacs TAGS output, but that project activity stalled. Reza Jelveh initially created a personal GitHub fork, and growing participation led to a dedicated Universal Ctags project.

Universal Ctags set out to continue Exuberant Ctags in a shared working space. It added and improved language parsers, extended optlib for defining parsers, developed experimental interactive mode, and documented incompatibilities where the maintained implementation deliberately diverges from Exuberant behavior.

采用历史

ctags files are a long-standing contract between command-line indexers and editors. Universal Ctags' adoption grew because Vim, Emacs, source browsers, IDE plugins, static documentation tools, and cross-reference engines still benefit from a fast, language-aware tags generator.

The official docs track related consumers and neighboring projects, including GNU Global, GNU Source-highlight, OpenGrok, Pygments, Geany, Anjuta, and Vim Tagbar. The input also shows broad packaging under names such as universal-ctags or ctags across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Windows package managers, and others.

使用方式

The basic package workflow is simple: run ctags over a source tree and point an editor or tool at the generated tags file. Advanced users customize language parsing, emitted fields, extras, pseudo-tags, and per-directory option files.

Universal Ctags changed important configuration defaults compared with Exuberant Ctags. Its README calls out that it does not load ~/.ctags and ./.ctags at startup, preferring ~/.ctags.d/*.ctags and ./.ctags.d/*.ctags; that matters directly to package upgrades and dotfile migrations.

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

Universal Ctags is package-nerd significant because it is a tiny binary with a huge blast radius: editors, code browsers, documentation systems, and source-search tools may all consume its output. Keeping it maintained keeps decades of ctags workflows viable for modern languages.

It is also a clean example of the package-manager replacement pattern: distributions can switch users from an unmaintained upstream to a maintained fork while preserving the old command name and most file-format compatibility.

时间线

  • Pre-2010s: Exuberant Ctags became the widely used multi-language ctags implementation.
  • 2010s: Exuberant Ctags activity stalled; Reza Jelveh created a GitHub fork.
  • 2010s: The fork became the Universal Ctags project as more contributors joined.
  • 2017: Windows daily builds documented the change away from loading legacy ~/.ctags-style files.
  • 2019: Windows daily builds documented default slash path separators and UTF-8 code page behavior on modern Windows.

Related projects

  • Universal Ctags descends from Exuberant Ctags and traditional Unix ctags. Official docs also discuss Geany's derived tagging engine and downstream consumers such as GNU Global, OpenGrok, Pygments, GNU Source-highlight, Anjuta, and Tagbar.
  • Its companion commands and documentation include readtags, optscript, ctags-client-tools, ctags-optlib, and man pages covering tags file formats and incompatibilities.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

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
$XDG_CONFIG_HOME/ctags/*.ctags~/.config/ctags/*.ctags~/.ctags.d/*.ctags./.ctags.d/*.ctags./ctags.d/*.ctags
Windows
%HOMEDRIVE%%HOMEPATH%\ctags.d\*.ctags

可执行文件

已安装的可执行文件

命令类型暴露范围备注
optscriptcli全局可执行文件
readtagscli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本6.2.1
管理器更新时间2026-05-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/universal-ctags/ctags

安装元数据

软件包元数据

软件包键brew:universal-ctags
版本6.2.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/universal-ctags
主页https://ctags.io/
仓库https://github.com/universal-ctags/ctags
上游文档https://docs.ctags.io/
许可证GPL-2.0-or-later
源码归档https://github.com/universal-ctags/ctags/releases/download/v6.2.1/universal-ctags-6.2.1.tar.gz
最后更新2026-05-15T12:49:28-04:00
Pulseupdated
依赖jansson, libyaml, pcre2
构建依赖docutils, pkgconf, python@3.14
macOS 提供的库libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameuniversal-ctags
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • ctags
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

universal-ctags 5.9.20210829.0-2

build tag file indexes of source code definitions

https://ctags.io/

sudo apt install universal-ctags
  • Section: editors
  • Architecture: amd64
  • 5 依赖
  • 1 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Universal Ctags
Debian stable package indexes · deb.debian.org · Debian stable package indexes: universal-ctags from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

universal-ctags

nix profile install nixpkgs#universal-ctags
  • normalized package name match
  • 匹配方式:Universal Ctags
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/un/universal-ctags/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

universal-ctags 5.9.20210829.0-1

build tag file indexes of source code definitions

https://ctags.io/

sudo apt install universal-ctags
  • Section: universe/editors
  • Architecture: amd64
  • 5 依赖
  • 1 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Universal Ctags
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: universal-ctags from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

ctags 1:6.2.1-1

Generates an index file of language objects found in source files

https://ctags.io/

sudo pacman -S ctags
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Universal Ctags
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ctags from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

universal-ctags 6.2.1-1.1

A program to generate language tag files used with various editors

https://github.com/universal-ctags/ctags

sudo zypper install universal-ctags
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: universal-ctags
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Universal Ctags
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: universal-ctags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

universal-ctags

sudo port install universal-ctags
  • normalized package name match
  • 匹配方式:Universal Ctags
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/universal-ctags/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

universal-ctags

choco install universal-ctags
  • normalized package name match
  • 匹配方式:Universal Ctags
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: universal-ctags from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ubisoft-connect'
Scoop95%

extras/universal-ctags

scoop install extras/universal-ctags
  • normalized package name match
  • 匹配方式:Universal Ctags
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/universal-ctags.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

UniversalCtags.Ctags

winget install --id UniversalCtags.Ctags -e
  • normalized package name match
  • 匹配方式:Universal Ctags
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: UniversalCtags.Ctags from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

UniversalCtags.Ctags.Nightly

winget install --id UniversalCtags.Ctags.Nightly -e
  • normalized package name match
  • 匹配方式:Universal Ctags
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: UniversalCtags.Ctags.Nightly from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment