Automic VaultAutomic Vault

brew

使用 Homebrew 安装 x-cli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install x-cli

local Homebrew formula metadata

概览

软件包摘要

Command-line power tool for Twitter

命令和别名

  • x

历史

项目历史与用法

x-cli is Erik Michaels-Ober's command-line client lineage for Twitter, now framed as a command-line interface for the X API. Its history runs through the earlier `t` Ruby CLI, which became a recognizable terminal-first Twitter tool, and the current x-cli repository, which updates the idea for X API authentication and v1.1/v2 API behavior.

项目历史

The original project documentation for `t` says it was created after the twitter Ruby gem removed its command-line interface in version 0.5.0. The `t` project was offered as a successor, but as a clean-room implementation containing none of the original CLI code.

The current x-cli README describes the tool as a command-line interface for the X API, with OAuth 1.0a and OAuth 2.0 authentication, v1.1 and v2 API support with fallback behavior, streaming commands, shell completion, and YAML configuration. It also preserves migration behavior from the older ~/.trc profile file to the newer ~/.xrc default.

采用历史

The project became popular because it made Twitter scriptable from ordinary shells: posting, listing, searching, following, and account management could be composed with pipes and other Unix tools. The current GitHub repository still shows thousands of stars and hundreds of forks, reflecting its long-lived CLI niche.

使用方式

Historically, users ran commands such as `t authorize`, `t update`, `t whois`, and list-management commands after creating Twitter API credentials. The current x-cli command tree focuses on `x` commands for accounts, search, streams, delete/list/set operations, and profile management.

Configuration is part of the project's continuity: the current README states that ~/.xrc is the default profile config, while ~/.trc is read as a fallback and migrated on write. That preserves the older `t` ecosystem while moving the command name and API model toward X.

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

x-cli is package-nerd interesting as a social-network CLI that survived API churn, branding churn, and authentication changes. It is the kind of package users install not for a daemon or library, but to make a web platform automatable from shell scripts.

时间线

  • twitter gem 0.5.0: The original gem CLI is removed, leading to the separate clean-room `t` project.
  • 2010s: `t` becomes a RubyGems-installed Twitter command-line power tool.
  • 2020s: The current x-cli repository presents the tool as an X API CLI with OAuth 1.0a/OAuth 2.0 and API v1.1/v2 support.
  • Current line: ~/.xrc becomes the default profile config while ~/.trc remains a migration fallback.

Related projects

  • The twitter Ruby gem is the ancestor context for the original CLI removal. The current x-cli README also identifies x-api as the client library layer for HTTP, authentication, and retry primitives.

安全态势

风险级别:绿色

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 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

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
~/.xrc~/.trc

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本5.0.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v5.0.0

https://github.com/sferik/x-cli

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:x-cli
版本5.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/x-cli
主页https://github.com/sferik/x-cli
仓库https://github.com/sferik/x-cli
上游文档https://github.com/sferik/x-cli#readme
许可证MIT
源码归档https://github.com/sferik/x-cli/archive/refs/tags/v5.0.0.tar.gz
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 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
  • package relationship graph
  • package version freshness
  • package-page enrichment