x-cli for Mac
A command-line interface for the X API.
x-cli — overview
x
A command-line interface for the X API.
Features Full command tree with aliases and options X API client library (x-api) for HTTP, auth, and retry primitives OAuth 1.0a and OAuth 2.0 authentication Automatic retry with backoff for transient API errors V1.1 and V2 API support with automatic fallback Streaming support for filtered and sampled streams Column-aligned output formatting YAML configuration file support Bash completion support
Status Command families: cli, delete, list, search, set, stream Local account/profile commands: accounts, set active, delete account, version, ruler Stream commands use persistent HTTP streaming: stream all and stream matrix use OAuth2 sample stream stream search, stream users, stream list, and stream timeline use v2 filtered stream rules + stream X_STREAM_MAX_EVENTS can be set to limit emitted events (useful for tests/automation) Default profile config is ~/.xrc. If ~/.xrc is missing, ~/.trc is used as a read fallback and migrated on write.
Development
Releasing
Tagging a new v* release triggers GitHub Actions to build and publish binaries for: Linux (x86_64-unknown-linux-gnu) Linux ARM64 (aarch64-unknown-linux-gnu) macOS Intel (x86_64-apple-darwin) macOS Apple Silicon (aarch64-apple-darwin) Windows (x86_64-pc-windows-msvc) Windows ARM64 (aarch64-pc-windows-msvc)
Install cargo-release:
Then tag and push the current Cargo.toml version:
Tag messages come from Cargo.toml release metadata (tag-message).
Details
用于推特的命令行强力工具
How to install x-cli
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
This project has no GitHub releases yet.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Cannot be installed alongside: xorg-server。
To use both, first brew uninstall the conflicting package, or install it in an isolated environment.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| x-cli | 5.0.0 | MIT | CLI | 13 |
| twarc | v2.14.1 | MIT | CLI | 15 |
| mikutter | 5.1.2 | MIT | CLI | 6 |
| powerman | v2.4.4 | GPL-2.0-or-later | CLI | 2 |
Similar apps: Command-line Tools
twarc
Note: twarc is no longer actively supported after changes to Twitter's API quotas made it…mikutter
mikutter is an extensible Twitter client suited to users who like handling social information…powerman
powerman is free UNIX/Linux software that controls (remotely and in parallel) switched power…sispmctl
sispmctl is a small command-line utility designed specifically to control Gembird SIS-PM series…t-completion
Completion for CLI power tool for Twitteruhubctl
uhubctl is utility to control USB power per-port on smart USB hubs.Categories: Command-line Tools