- Install Command
npm install ai-command
- Config OpenAI API Key
aim set openai_key {YOUR_OPENAI_KEY}
// ls config check
aim ls
- Ask Command Question in Terminal
// Input
aim ask "How to query port 3000, and close it"
// Output
lsof -i:3000 | kill -9 {PID}
- Chat with Ai in Terminal
aim chat
- Auto Copy
default open copy to clipboard, if you want to disable it, use --no-copy or global disbaled: aim set auto_copy off