ChatGPT CLI v1.4.2
Release Notes for chatgpt-cli Version 1.4.2
We are excited to announce the release of chatgpt-cli
version 1.4.2, which introduces an eagerly awaited feature: Command-Line Autocompletion for flags. This update is designed to enhance the user experience by streamlining interactions with the CLI, making it faster and more intuitive to use the chatgpt-cli
.
New Features
- Command-Line Autocompletion: Users can now enjoy autocompletion for command flags, significantly reducing the effort needed to recall and type out full command options. This feature supports multiple shells, including Bash, Zsh, Fish, and PowerShell, ensuring a wide range of compatibility.
How to Enable Autocompletion
-
For Bash, Zsh, and Fish Shells:
Execute the following command in your terminal to activate autocompletion for the current session:. <(chatgpt-cli --set-completions [shell])
Replace
[shell]
withbash
,zsh
, orfish
according to your shell type. -
For PowerShell:
Execute:chatgpt-cli --set-completions powershell | Out-String | Invoke-Expression
Making Autocompletion Persistent
To ensure autocompletion is enabled in every new shell session, add the autocompletion script to your shell's startup file (~/.bashrc
, ~/.zshrc
, config.fish
, or your PowerShell profile).
Bug Fixes and Improvements
- Minor bug fixes and performance enhancements to improve stability and usability.
Getting Started
To get started with version 1.4.2 of chatgpt-cli
, visit our Installation Guide. Existing users can update to the latest version by following the standard update procedures for their specific setup.
We hope you enjoy the enhanced productivity with the new autocompletion feature. As always, we welcome your feedback and contributions to make chatgpt-cli
even better.
How to Update
Using Homebrew (macOS)
brew upgrade chatgpt-cli
Direct Download
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 using chatgpt-cli
!