npx gptbash <prompt>
Get your API key from OpenAI.
Set up your API key as an environment variable by adding the following to your ~/.bashrc
or ~/.zshrc
, or run it in your shell:
export OPENAI_API_KEY=<your key>
npx gptbash "List all files in the current directory"
Made with love by Solving LLC. Thanks for @popstas
Follow us on LinkedIn and Twitter.
Connect with author: http://ceo.solving.llc