macOS
brew install x-clilocal Homebrew formula metadata
安装
brew install x-clilocal Homebrew formula metadata
概览
Command-line power tool for Twitter
历史
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.
安全态势
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.
~/.xrc~/.trc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
x | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sferik/x-cli
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | x-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.