Streamline your terminal experience by generating Linux commands from natural language queries, reducing the need to leave the terminal for manual web searches.
chmod +x install.sh
./install.sh
This will copy CliGPT into your .zshrc
file. Modify it accordingly if you are not a zsh user.
Make sure you have the OPENAI_API_KEY environment variable set.
You can do so by running:
export OPENAI_API_KEY=<your key here>
Or by adding the above command to your .zshrc, or whatever other environment variable setup you prefer.
cligpt <linux related question>
You will be asked to confirm if you want to run the command or not, no need to copy and paste it.
If you enjoyed this, you might like GitGPT - to get suggestions for Git, altough CliGPT can work with Git commands as well.