NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1948 by repository stars
Latest stable
v1.11.0
Last release 3 months ago
31 Jul 2026
Release timing varies
gaps range from 2 weeks to 3 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
140 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Per Thread Contexts: In this release, we're introducing per-thread contexts for the ChatGPT CLI. Now, each thread can maintain its own unique context,
Per Thread Contexts: In this release, we're introducing per-thread contexts for the ChatGPT CLI. Now, each thread can maintain its own unique context, providing an experience similar to the one users are familiar with on the OpenAI website. This makes it even easier to manage multiple chat sequences or use cases at the same time.
You can specify a thread by setting the thread option in your configuration or by using the --thread flag. If no thread is specified, the application defaults to using the thread named default.
Clear History Flag: Want to start a new conversation in the same thread without the baggage of previous interactions? The --clear-history flag allows you to easily clear the history of a specific thread.
Improved Configuration Section: Our README now includes a detailed table explaining each configuration option, its default value, and how to override it.
Enhanced README: We have made several updates to our README to provide clearer instructions and more comprehensive information about the application's features.
Remember to check the updated README for more detailed information about these new features and improvements. As always, we welcome your feedback and suggestions for future releases. Enjoy chatting with GPT-3!
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
We are pleased to announce the latest release of the ChatGPT CLI. This update provides enhanced configuration options to optimize your user experience
We are pleased to announce the latest release of the ChatGPT CLI. This update provides enhanced configuration options to optimize your user experience.
Layered Configuration: ChatGPT CLI now supports a layered configuration system for a more flexible setup. The order of precedence for these configurations is: default values, values from the config.yaml file, and environment variables.
Default Configuration: We've included default values for name, api_key, model, max_tokens, url, completions_path, models_path, and omit_history. These defaults ensure a smooth user experience right out of the box.
User Configuration: You can easily override the default settings by specifying your preferences in the config.yaml file located in your home directory.
Environment Variables: For more immediate and flexible changes, environment variables can be used to overwrite default and user-defined values.
Configuration Display: The --config or -c flag is introduced to display the current configuration. It's a quick way to check your settings without having to manually open the configuration files.
To enhance your convenience, we've introduced two new flags to allow for quick modification of the model and max_tokens parameters in your user configured config.yaml. These flags are --set-model and --set-max-tokens. For instance, updating the model can be done using the following command:
chatgpt --set-model gpt-3.5-turbo-16k
These quick configuration options enable rapid changes to key settings, optimizing the adaptability of the ChatGPT CLI to your needs.
Your feedback is valuable to us! Please continue to share your experiences and suggestions.
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
Nothing published for this version
Configuration Display Flag - A new command-line flag --config (or -c for short) has been added. This allows users to quickly and easily view their cur
Configuration Display Flag - A new command-line flag --config (or -c for short) has been added. This allows users to quickly and easily view their current chatGPT CLI configuration. Now, it's easier than ever to see which settings you're currently using. Try it out with chatgpt --config.
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
This version fixes a bug introduced in v1.1.0 - default values were dependent on the existence of a specific file. That is now no longer the case.
This version fixes a bug introduced in v1.1.0 - default values were dependent on the existence of a specific file. That is now no longer the case.
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
…file (see README), which leads to some breaking changes. We have increased the version to 1.1.0 to reflect these changes.
Changed this to a pre-release due to a bug. Bug was fixed in v1.1.1
This release introduces significant changes to the ChatGPT CLI. We have made several modifications, including removing a few exported constants and exported struct fields, and adding the config.yaml file (see README), which leads to some breaking changes. We have increased the version to 1.1.0 to reflect these changes.
Model, capacity, and serviceURL), and the addition of the Config field. This change simplifies the client configuration process by enabling users to use a config file (config.yaml) for customization. Here is how the struct looks now:type Client struct {
Config types.Config
History []types.Message
caller http.Caller
historyStore history.HistoryStore
}
DefaultGPTModel, DefaultServiceURL, CompletionPath, ModelPath, and MaxTokenSize are no longer available. The constants AssistantContent, AssistantRole, ErrEmptyResponse, MaxTokenBufferPercentage, SystemRole, UserRole, and gptPrefix are still available.const (
AssistantContent = "You are a helpful assistant."
AssistantRole = "assistant"
ErrEmptyResponse = "empty response"
MaxTokenBufferPercentage = 20
SystemRole = "system"
UserRole = "user"
gptPrefix = "gpt"
)
These changes were made to simplify the client configuration and to increase flexibility by allowing settings to be specified in a user-defined configuration file (config.yaml).
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
Thank you for your continuous support and understanding as we work to improve ChatGPT CLI.
We've updated the behavior of the --version, --set-model, and --clear-history flags to no longer error out when OPENAI_API_KEY is not present in the e
--version, --set-model, and --clear-history flags to no longer error out when OPENAI_API_KEY is not present in the environment. You can now use these flags independently of the API key.We encourage you to update to this version for a smoother experience and look forward to hearing your feedback.
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
Nothing published for this version
Nothing published for this version
We're excited to announce the release of chatgpt-cli v1.0.6! This version introduces a critical new feature that enhances the usability of the CLI too
We're excited to announce the release of chatgpt-cli v1.0.6! This version introduces a critical new feature that enhances the usability of the CLI tool.
--set-model command. Users can now update the default model used by the CLI by executing chatgpt --set-model "gpt-3.5-turbo". This command updates a config.yaml file, where the preferred model is stored. This feature adds a level of customization and flexibility for users, allowing them to easily switch between different models.config package to handle operations related to the config.yaml file. This change helps in maintaining a clean and organized codebase.--set-model command to ensure its correct functionality and to prevent any future regressions.As always, we encourage users to upgrade to the latest version for an optimal experience. For detailed instructions on how to upgrade, refer to our documentation.
We'd like to express our gratitude for your support and feedback. If you encounter any issues or have suggestions, feel free to reach out to us.
Happy coding!
brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
Nothing published for this version
We're excited to introduce ChatGPT CLI v1.0.5. This update focuses on providing more flexibility in choosing a model by introducing a new feature - th
We're excited to introduce ChatGPT CLI v1.0.5. This update focuses on providing more flexibility in choosing a model by introducing a new feature - the --list-models flag.
--list-models flag): With the addition of the new --list-models flag, you can now easily get a list of all available models. This is a significant step towards providing a more flexible and user-friendly interface.--list-models flag.brew upgrade chatgpt-cli
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
We are excited to announce the release of ChatGPT CLI v1.0.4! This release brings a new feature to enhance the user experience with the GPT model.
We are excited to announce the release of ChatGPT CLI v1.0.4! This release brings a new feature to enhance the user experience with the GPT model.
-i or --interactive flag:chatgpt --interactive
In Interactive Mode, simply type your queries and the program will print the responses as you go along. To exit Interactive Mode, type 'exit'.
To upgrade your current installation to v1.0.4, follow the installation instructions in the README for your respective operating system and architecture.
As always, if you encounter any issues or have suggestions for improvements, please submit an issue on GitHub. We appreciate your feedback and contributions to help make this project better!
Nothing published for this version
Custom chat models: In this release, we've added the ability to use custom chat models by specifying the model name with the -m or --model flag. This
-m or --model flag. This allows users to leverage specific chat models when interacting with ChatGPT. Note that this feature only supports chat models, not completion models.We hope that you find these updates helpful, and we encourage you to provide feedback and report any issues you encounter. Your contributions help make this project better for everyone.
New --version flag added to the CLI tool. This flag displays the version information, including the Git version and commit hash. This enhancement make
--version flag added to the CLI tool. This flag displays the version information, including the Git version and commit hash. This enhancement makes it easy to identify the current version of the ChatGPT CLI tool you are using.We're excited to announce the release of ChatGPT CLI v1.0.1! This update introduces a powerful new feature to provide custom context to the ChatGPT AP
We're excited to announce the release of ChatGPT CLI v1.0.1! This update introduces a powerful new feature to provide custom context to the ChatGPT API through piping. This allows users to enhance their interactions with the ChatGPT model by supplying additional information from external sources.
cat /path/to/context-file.txt | ./bin/chatgpt "your question".Thank you for using the ChatGPT CLI, and we hope you enjoy the new context pipe feature in v1.0.1! Your feedback is invaluable in helping us improve and provide even better features in the future.
Interactive streaming mode for real-time interaction with the GPT-3.5 Turbo model.
Features:
Improvements:
Fixes:
This release marks the first stable version of the ChatGPT CLI, providing a powerful and user-friendly interface for interacting with OpenAI's GPT-3.5 Turbo model. Users can now easily switch between interactive streaming mode and query mode, while enjoying seamless and efficient conversations with the GPT model, thanks to the sliding window history management feature. With robust configuration management through Viper integration and a well-tested codebase, the ChatGPT CLI is now ready for use in various applications.
History Management: We have introduced a new set of features to handle message history for the ChatGPT-CLI. This enhancement allows users to keep trac
FileIO: A new FileIO module has been added to support the Read, Write, and Delete operations for the history file. The module ensures efficient handling of history data, making it easier to manage and maintain conversation history.
Unit and Integration Tests: Comprehensive unit and integration tests have been added to ensure the reliability and stability of the new history features. These tests cover the FileIO operations and the overall functionality of the history management system.
Updated README: The README has been updated with instructions on how to run the newly added tests, providing clearer guidance for contributors and users.
Thank you for your continued support! We hope you enjoy the new history management features in ChatGPT-CLI. As always, please let us know if you have any feedback, issues, or suggestions. Happy chatting!
One column per quarter.