AI powered command line with natural language
go install github.com/gptlang/dunno@latest
- Go
~/go/bin
in$PATH
You only need to set it once. It saves this key to config file. To change key, just do this again before running it.
export OPENAI_KEY="sk-..."
Defaults to free API if key not found
$ dunno
Usage: dunno <prompt>
Example: dunno list tcp network connections
Enter x to interrupt or enter to allow the assistant to run the command
It knows your OS.