Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 718 Bytes

File metadata and controls

32 lines (19 loc) · 718 Bytes

GPT for Bash

Usage

npx gptbash <prompt>

No installation required, just set up keys

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>

Examples

npx gptbash "List all files in the current directory"

Credits

Made with love by Solving LLC. Thanks for @popstas

Follow us on LinkedIn and Twitter.

Connect with author: http://ceo.solving.llc