chatblade and chatgpt-cli
These are competitors offering overlapping command-line interfaces to ChatGPT's API, with chatblade being the more feature-rich "Swiss Army Knife" alternative that has displaced the simpler chatgpt-cli in adoption.
About chatblade
npiv/chatblade
A CLI Swiss Army Knife for ChatGPT
Chatblade helps developers and technical users efficiently interact with ChatGPT directly from their command line. You can input text from files or pipes and receive responses in various formats, including raw text, formatted Markdown, or extracted JSON. This tool is for programmers, system administrators, or anyone comfortable with command-line tools who wants to integrate AI assistance into their development workflows.
About chatgpt-cli
marcolardera/chatgpt-cli
Simple yet effective command line client for chatting with ChatGPT using the official API
This tool helps developers and technical professionals quickly interact with ChatGPT directly from their computer's command line. You provide text prompts, and it delivers AI-generated responses, making it efficient for tasks like code explanation, text rephrasing, or quick translations. It's designed for users comfortable with terminal interfaces who want a fast, cost-effective way to leverage large language models.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work