--help
less, accomplish more: Command your terminalCommand your terminal with intelligent suggestions
Autocomplete.sh adds AI-powered command-line suggestions directly to your terminal. Just type <TAB><TAB>
and it calls an LLM (OpenAI by default) to return the top suggestions for you.
Use natural language without copying between CoPilot or ChatGPT
wget -qO- https://autocomplete.sh/install.sh | bash
--help
informationWe support OpenAI, Groq, Anthropic, and Ollama models. Configure your model with:
autocomplete model
Autocomplete.sh provides faster, more accurate suggestions by considering:
View the full prompt with:
autocomplete command --dry-run "your command here"
ffmpeg # reformat video to fit youtube
then <TAB><TAB>
# create a github repo, init a readme, and push it
then <TAB><TAB>
source autocomplete config
Update settings with:
autocomplete config set <key> <value>
autocomplete usage
git clone git@github.com:closedloop-technologies/autocomplete-sh.git
ln -s $PWD/autocomplete.sh $HOME/.local/bin/autocomplete
. autocomplete.sh install
sudo apt install bats
bats tests
docker build -t autocomplete-sh .
docker run --rm -e OPENAI_API_KEY=$OPENAI_API_KEY autocomplete-sh
Currently maintained by Sean Kruzel @closedloop at Closedloop.tech
Contributions and bug fixes are welcome!
The best way to support Autocomplete.sh is to just use it!
If you want to help me keep up the energy to build stuff like this, please:
See the MIT-LICENSE file for details.