← Back to registry

twitter-cli knowledge

Browse Twitter/X feeds, bookmarks, search, and post — all from your terminal

twitter is a CLI for Twitter/X that works without official API keys. Read timelines, manage bookmarks, search tweets, post content, and interact — all from the terminal.

Features

Install

uv: uv tool install twitter-cli
pipx: pipx install twitter-cli

Commands

CommandSyntaxDescription
feed twitter feed Browse your home timeline
search twitter search <query> Search tweets with filters
bookmarks twitter bookmarks View your bookmarked tweets
user twitter user <username> View a user's profile
post twitter post <text> Post a new tweet
reply twitter reply <tweet_id> <text> Reply to a tweet
user-posts twitter user-posts <username> --max 20 --json Get a user's recent posts in JSON format

Links

Agent Usage Example

Use cases:

Example workflow:

twitter search 'Claude Code' -t Latest --max 50 --json | jq '.[].text'