# Installer x-cli avec Homebrew, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de x-cli pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:x-cli
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install x-cli
```

  Preuve: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id XuanyuanLuoxue.XCLI -e
```

  Preuve: Windows Package Manager source index: XuanyuanLuoxue.XCLI from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:x-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/x-cli>
- **Version:** 5.0.0
- **Résumé source:** Command-line power tool for Twitter
- **Page d'accueil:** <https://github.com/sferik/x-cli>
- **Dépôt:** <https://github.com/sferik/x-cli>
- **Licence:** MIT
- **Archive source:** <https://github.com/sferik/x-cli/archive/refs/tags/v5.0.0.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- x (cli)
- x (alias)

## Dépendances de compilation

- pkgconf
- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 5.0.0
- données locales: OK
- dépôt amont: https://github.com/sferik/x-cli
- dernière version détectée: v5.0.0 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://github.com/sferik/x-cli#readme>
- <https://sferik.github.io/t/>
- <https://sferik.github.io/twitter/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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

- Unix: ~/.xrc, ~/.trc
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** x-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** xorg-server
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- winget - XuanyuanLuoxue.XCLI: normalized package name match | Windows Package Manager source index: XuanyuanLuoxue.XCLI from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [x265](https://pkg.so/fr/brew/x265/) - Package name indicates the same formula family.
- [x264](https://pkg.so/fr/brew/x264/) - Package name indicates the same formula family.
- [x3270](https://pkg.so/fr/brew/x3270/) - Package name indicates the same formula family.
- [graphql-cli](https://pkg.so/fr/brew/graphql-cli/) - Local package facts share a topical domain. Shared terms: api, cli, command-line, developer, developer-tools.
- [resty](https://pkg.so/fr/brew/resty/) - Local package facts share a topical domain. Shared terms: api, cli, command-line, developer, developer-tools.
- [newman](https://pkg.so/fr/npm/newman/) - Local package facts share a topical domain. Shared terms: api, cli, command-line, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/x-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/x-cli.yml)


## Sources

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